Skip to content
This repository has been archived by the owner on Aug 24, 2021. It is now read-only.

bug: Button test failing in CI #56

Closed
tayronemachadozup opened this issue Apr 27, 2021 · 1 comment
Closed

bug: Button test failing in CI #56

tayronemachadozup opened this issue Apr 27, 2021 · 1 comment
Assignees
Labels
angular bug Something isn't working ci help wanted Extra attention is needed tests

Comments

@tayronemachadozup
Copy link
Contributor

tayronemachadozup commented Apr 27, 2021

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                                              

@tayronemachadozup tayronemachadozup added bug Something isn't working help wanted Extra attention is needed tests angular labels Apr 27, 2021
@igorgiumellizup igorgiumellizup self-assigned this May 3, 2021
@igorgiumellizup
Copy link
Contributor

fixed somehow

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
angular bug Something isn't working ci help wanted Extra attention is needed tests
Projects
None yet
Development

No branches or pull requests

2 participants