-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
playwright: Update to latest versions and add new page objects
- Update `playwright` to the latest version - Update test configuration to adapt to latest version - Remove obsolete multiple config files and scripts - Add page objects for OutputView, OutputChannel, Toolbar, MonacoEditor - Extend tests by testing the new page objects - Extend ExplorerView tests with compact folders - Extend QuickCommand tests - Update GETTING_STARTED.md and DEVELOPING.md - Update build script to use ensure clean and lint are called - Ensure all necessary playwright dependencies are installed on initial build Signed-off-by: Nina Doschek <ndoschek@eclipsesource.com>
- Loading branch information
Showing
30 changed files
with
825 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,24 @@ | ||
/** @type {import('eslint').Linter.Config} */ | ||
module.exports = { | ||
extends: [ | ||
'../../configs/build.eslintrc.json', | ||
'./configs/ui-tests.eslintrc.json', | ||
'./configs/ui-tests.playwright.eslintrc.json' | ||
'../../configs/build.eslintrc.json' | ||
], | ||
ignorePatterns: ['playwright.config.ts'], | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: 'tsconfig.json' | ||
} | ||
project: 'tsconfig.json', | ||
// suppress warning from @typescript-eslint/typescript-estree plugin | ||
warnOnUnsupportedTypeScriptVersion: false | ||
}, | ||
overrides: [ | ||
{ | ||
files: ['*.ts'], | ||
rules: { | ||
// override existing rules for playwright test package | ||
"no-null/no-null": "off", | ||
"no-undef": "off", // disabled due to 'browser', '$', '$$' | ||
"no-unused-expressions": "off" | ||
} | ||
} | ||
] | ||
}; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
6 changes: 0 additions & 6 deletions
6
examples/playwright/configs/ui-tests.playwright.eslintrc.json
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.