openmct/e2e
Jesse Mazzella 6c71fa01f5
Fix existing eslint warnings, configure eslint to fail on warning (#5258)
* [e2e] Remove unnecessary step with force click

* `test.skip()` -> `test.fixme()`

* Bypass `no-wait-for-timeout` rule for visual tests

* Fail lint step if warnings > 0

* Set default value for `imageUrl`

- Resolves `vue/require-default-prop` warning

* Disable eslint rule `you-dont-need-lodash-underscore/get`

- Disable the rule for now as the implementation they suggest doesn't match lodash `_.get()` functionality, and fails a bunch of our tests. See https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore/issues/311 and https://github.com/you-dont-need/You-Dont-Need-Lodash-Underscore/issues/294

* Disable `no-wait-for-timeout` warning for `visual` folder

* Add rule exception and comments in logPlot test

- Add exception and FIXME for timeout

- Add comment on fixme test to discourage community contribution

* clean up tests

- remove unnecessary awaits

- update locators to use data-testid where possible

- remove unnecessary wait

* Wait for image count condition instead of timeout

* code review comments: use expect.poll()

* readability

* .fixme() + comment instead of .skip()

* disable `.skip()` warning for memleak test suite
2022-05-26 09:45:16 -07:00
..
test-data Performance tests, notebook tests, and sharding (#5236) 2022-05-25 15:45:11 -07:00
tests Fix existing eslint warnings, configure eslint to fail on warning (#5258) 2022-05-26 09:45:16 -07:00
.eslintrc.js Fix existing eslint warnings, configure eslint to fail on warning (#5258) 2022-05-26 09:45:16 -07:00
.percy.yml [e2e] Update Playwright config to include MMOC and Ipad (#4717) 2022-01-14 14:47:35 -08:00
fixtures.js Add console error checking to our e2e suite (#5177) 2022-05-13 10:55:34 -07:00
playwright-ci.config.js Performance tests, notebook tests, and sharding (#5236) 2022-05-25 15:45:11 -07:00
playwright-local.config.js Performance tests, notebook tests, and sharding (#5236) 2022-05-25 15:45:11 -07:00
playwright-performance.config.js Performance tests, notebook tests, and sharding (#5236) 2022-05-25 15:45:11 -07:00
playwright-visual.config.js Added visual test for capturing the Save Successful Banner (#5237) 2022-05-20 22:11:32 +00:00