Shift helper functions `hasErrorText` and `hasNoErrorText` to central utility testing file
See original GitHub issueIs your feature request related to a problem? Please describe.
Helper functions hasErrorText
and hasNoErrorText
is being used frequently in test files like AdminAuthActivityTest
and it will be used in more files in future.
Describe the solution you’d like We should shift these to a central file rather than including them every time in the test files.
Issue Analytics
- State:
- Created 3 years ago
- Comments:30 (30 by maintainers)
Top Results From Across the Web
Functional Test Refactoring: Move to Helper - Medium
The test project is at my-working-dir/agiletravel-ui-tests/pre-refactoring . Motivation. You use the same functions defined in separate test ...
Read more >python - Create and import helper functions in tests without ...
How can I import helper functions in test files without creating packages in the test directory? Context. I'd like to create a test...
Read more >Create Helpers | Best Practices | Recipes | Docs - TestCafe
This pattern allows you to abstract out both page structure and test logic. If you need to extract only the helper functions, however,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sounds good, let’s block this issue till whole of the migration is done and we can open this issue then. Also, could you please check if we are missing any other screen which needs migration, confirm the list of screens from the migration issue?
@prayutsu Can I work on this?