Skip to content

Instantly share code, notes, and snippets.

@MarcusFelling
Created February 21, 2023 18:59
Show Gist options
  • Save MarcusFelling/b10221aaa41858d49af79d1f9038fa17 to your computer and use it in GitHub Desktop.
Save MarcusFelling/b10221aaa41858d49af79d1f9038fa17 to your computer and use it in GitHub Desktop.
import type { PlaywrightTestConfig } from '@playwright/test';
const config: PlaywrightTestConfig = {
// register global setup for login
globalSetup: require.resolve('./global-setup'),
use: {
// Tell all tests to load signed-in state from 'storageState.json'.
storageState: 'storageState.json'
}
};
export default config;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment