Patrik Oldsberg
|
ab6385cfb1
|
cli: never treat success as a failure in e2e test
|
2020-07-02 21:41:39 +02:00 |
|
Patrik Oldsberg
|
c499656a69
|
cli: use tree-kill to kill serve task in e2e test
|
2020-07-02 14:46:43 +02:00 |
|
Patrik Oldsberg
|
7cd04c77fa
|
cli: use node to execude backstage-cli bin in e2e test
|
2020-07-02 14:46:43 +02:00 |
|
Patrik Oldsberg
|
2aca5bb6d4
|
cli: refactor e2e-test to use runPlain with fix for windows
|
2020-07-02 14:46:43 +02:00 |
|
Patrik Oldsberg
|
3c447e36dc
|
cli: update e2e-test to use build-workspace and inline more scripts
|
2020-07-02 14:43:58 +02:00 |
|
Fredrik Adelöw
|
7389f326d9
|
chore: add import/newline-after-import lint rule
|
2020-07-02 11:25:04 +02:00 |
|
Himanshu Mishra
|
b36bf68d7d
|
240 attempts should not just be 239 :D
|
2020-05-05 20:42:44 +09:00 |
|
Himanshu Mishra
|
5d5d093b20
|
Set maxFindTextAttempts as a function argument
|
2020-05-05 20:38:57 +09:00 |
|
Himanshu Mishra
|
82b6f1e4cb
|
Retry search text for any type of error
|
2020-05-05 20:09:03 +09:00 |
|
Himanshu Mishra
|
9ea93173f0
|
Do browser.visit again after getting error in finding text
|
2020-05-05 20:07:43 +09:00 |
|
Himanshu Mishra
|
fe088038d6
|
Better variable names
attemptsToLoad -> loadAttempts
maxAttempts -> maxLoadAttempts
attemptsToSearchText -> findTextAttempts
maxAttemptsToSearchText -> maxFindTextAttempts
|
2020-05-05 20:06:16 +09:00 |
|
Himanshu Mishra
|
a93f194cb6
|
Break from loop if the test is successful
Making this mistake since while loops were created :(
|
2020-05-05 17:28:43 +09:00 |
|
Himanshu Mishra
|
fe2f7265d3
|
Add retries to find the text on page for e2e tests
The page may not be fully loaded on the first go. Hence, we wait for some time and then retry.
|
2020-05-05 16:57:55 +09:00 |
|
Patrik Oldsberg
|
d70337eb53
|
scripts: move cli-e2e-test to packages/cli/e2e-test
|
2020-04-16 19:38:01 +02:00 |
|