-
Notifications
You must be signed in to change notification settings - Fork 105
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
7215: Migrate end-to-end tests to Playwright r=jmcameron a=jmcameron This PR enables end-to-end tests that have been migrated from Protractor to Playwright. Note that only 23% of the end-to-end have been converted, but it seems appropriate to start using the tests that have been migrated now to avoid any regressions that they might catch. Note that the old Protractor tests have not been deleted yet, since the obsolete files may still be useful in the migration process. Also the original command `yarn test:ends` are unchanged so it remains broken. Use the new command `yarn test:e2e` instead. Note that a few of these tests still sporadically fail; I'm trying to resolve those problems. See [Issue 6976](#6976) for details about the migration. Note: This PR replaces [PR 7024](#7024). It is essentially a rebase to consolidate all the commit messages (via git diff vs master and patch, not via `git rebase`). ### Testing - Set your .env file for bhima_test - Run `yarn` to update dependencies (you may want to run `yarn upgrade` too) - Install playwright: - `npm install playwright` - Verify the two versions match: - `grep '`@playwright/test@'` yarn.lock` - `npx playwright --version` - Run the tests: `yarn test:e2e` Co-authored-by: Jonathan Cameron <jmcameron@gmail.com>
- Loading branch information
Showing
300 changed files
with
20,159 additions
and
126 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
{ | ||
"plugins": [ | ||
"jsdoc" | ||
], | ||
"rules": { | ||
"jsdoc/check-access": 1, // Recommended | ||
"jsdoc/check-alignment": 1, // Recommended | ||
"jsdoc/check-indentation": 1, | ||
"jsdoc/check-line-alignment": 1, | ||
"jsdoc/check-param-names": 1, // Recommended | ||
"jsdoc/check-property-names": 1, // Recommended | ||
"jsdoc/check-syntax": 1, | ||
"jsdoc/check-tag-names": 1, // Recommended | ||
"jsdoc/check-types": 1, // Recommended | ||
"jsdoc/check-values": 1, // Recommended | ||
"jsdoc/empty-tags": 1, // Recommended | ||
"jsdoc/implements-on-classes": 1, // Recommended | ||
"jsdoc/multiline-blocks": 1, // Recommended | ||
// "jsdoc/newline-after-description": 1, // Deprecated | ||
"jsdoc/no-bad-blocks": 1, | ||
"jsdoc/no-defaults": 1, | ||
"jsdoc/no-multi-asterisks": 1, // Recommended | ||
"jsdoc/no-undefined-types": 1, // Recommended | ||
"jsdoc/require-asterisk-prefix": 1, | ||
"jsdoc/require-description": 1, | ||
"jsdoc/require-file-overview": 0, | ||
"jsdoc/require-hyphen-before-param-description": 1, | ||
"jsdoc/require-jsdoc": 1, // Recommended | ||
"jsdoc/require-param": 1, // Recommended | ||
"jsdoc/require-param-description": 1, // Recommended | ||
"jsdoc/require-param-name": 1, // Recommended | ||
"jsdoc/require-param-type": 1, // Recommended | ||
"jsdoc/require-property": 1, // Recommended | ||
"jsdoc/require-property-description": 1, // Recommended | ||
"jsdoc/require-property-name": 1, // Recommended | ||
"jsdoc/require-property-type": 1, // Recommended | ||
"jsdoc/require-returns": 1, // Recommended | ||
"jsdoc/require-returns-check": 1, // Recommended | ||
"jsdoc/require-returns-description": 1, // Recommended | ||
"jsdoc/require-returns-type": 1, // Recommended | ||
"jsdoc/require-throws": 0, | ||
"jsdoc/require-yields": 1, // Recommended | ||
"jsdoc/require-yields-check": 1, // Recommended | ||
"jsdoc/sort-tags": 1, | ||
"jsdoc/tag-lines": 0, // Recommended | ||
"jsdoc/valid-types": 1 // Recommended | ||
} | ||
} |
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
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
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
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
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
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
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.