-
Notifications
You must be signed in to change notification settings - Fork 82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Cypress #2622
Update Cypress #2622
Conversation
This repo has @mesosphere-mergebot integration. You can interact with the following commands.
|
I think you added the |
152a865
to
cd9cf5f
Compare
cypress retest |
bfba631
to
e3c1063
Compare
e3c1063
to
b4943f8
Compare
Alfred test this |
2 similar comments
Alfred test this |
Alfred test this |
Alfred test this |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some comments.
|
||
// jsdom doesn't calculate |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@@ -40,10 +40,10 @@ describe("Service Form Modal", function() { | |||
cy.get(".modal-full-screen").should("to.have.length", 1); | |||
}); | |||
|
|||
it("Should Autofocus on the Service ID input field", function() { | |||
it.skip("Should Autofocus on the Service ID input field", function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are we skipping this and other Tests?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Okay got it, cypress-io/cypress#1176 Cypress currently has problems with the focus functionality could you please add a comment here and above all other skipped tests to document why they are skipped.
@@ -1374,7 +1372,7 @@ describe("Service Form Modal", function() { | |||
|
|||
it('Should add new set of form fields when "Add Environment Variable" link clicked', function() { | |||
// Key focused | |||
cy.focused().should("have.attr", "name").and("eq", "env.0.key"); | |||
// cy.get('.form-control[name="env.0.key"]:focus'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If not needed let's remove.
@@ -1408,7 +1406,7 @@ describe("Service Form Modal", function() { | |||
|
|||
it('Should add new set of form fields when "Add Label" link clicked', function() { | |||
// Key focused | |||
cy.focused().should("have.attr", "name").and("eq", "labels.0.key"); | |||
// cy.get('.form-control[name="labels.0.key"]:focus'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need? Let's trash it!
9b407d3
to
36d0851
Compare
@Poltergeist Added the comments 👍 |
No description provided.