Closed tayronemachadozup closed 3 years ago
For some reason, the ci button test behaves differently from the locally run test. Apparently when the test was run it couldn't find the buttons that are disabled on the screen
Running: ButtonScreen.feature (3 of 17) Button Component Validation 1) Button 01 - Button component renders text attribute correctly ✓ Button 02 - Button component renders action attribute correctly (example #1) (515ms) ✓ Button 02 - Button component renders action attribute correctly (example #2) (350ms) ✓ Button 02 - Button component renders action attribute correctly (example #3) (292ms) ✓ Button 02 - Button component renders action attribute correctly (example #4) (300ms) 4 passing (15s) 1 failing 1) Button Component Validation Button 01 - Button component renders text attribute correctly: AssertionError: Timed out retrying: expected '<button.design-system-button-screen-button>' to be 'disabled' at eval (http://localhost:4200/__cypress/tests?p=cypress/integration/ButtonScreen.feature:665:90) at resolveValue (http://localhost:4200/__cypress/tests?p=cypress/integration/ButtonScreen.feature:12987:20) at Context.waitUntil (http://localhost:4200/__cypress/tests?p=cypress/integration/ButtonScreen.feature:12997:10) (Results) │ Tests: 5 │ Passing: 4 │ Failing: 1 │ Pending: 0 │ Skipped: 0 │ Screenshots: 1 │ Video: false │ Duration: 14 seconds │ Spec Ran: ButtonScreen.feature
fixed somehow
For some reason, the ci button test behaves differently from the locally run test. Apparently when the test was run it couldn't find the buttons that are disabled on the screen