Skip to content
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

Merged
merged 6 commits into from
Jan 19, 2018
Merged

Update Cypress #2622

merged 6 commits into from
Jan 19, 2018

Conversation

orlandohohmeier
Copy link
Contributor

No description provided.

@d2iq-mergebot
Copy link

This repo has @mesosphere-mergebot integration. You can interact with the following commands.

@mesosphere-mergebot test  
@mesosphere-mergebot integrate  
@mesosphere-mergebot ship-it  

@DanielMSchmidt
Copy link
Contributor

I think you added the package-json.lock file by accident 🤔

@nLight nLight force-pushed the orlandohohmeier/chore/update-cypress branch 3 times, most recently from 152a865 to cd9cf5f Compare January 17, 2018 11:09
@nLight
Copy link
Contributor

nLight commented Jan 17, 2018

cypress retest

@nLight nLight force-pushed the orlandohohmeier/chore/update-cypress branch 2 times, most recently from bfba631 to e3c1063 Compare January 17, 2018 16:10
@nLight nLight force-pushed the orlandohohmeier/chore/update-cypress branch from e3c1063 to b4943f8 Compare January 18, 2018 09:51
@nLight nLight self-assigned this Jan 18, 2018
@nLight
Copy link
Contributor

nLight commented Jan 18, 2018

Alfred test this

2 similar comments
@nLight
Copy link
Contributor

nLight commented Jan 18, 2018

Alfred test this

@nLight
Copy link
Contributor

nLight commented Jan 18, 2018

Alfred test this

@nLight
Copy link
Contributor

nLight commented Jan 18, 2018

Alfred test this

Copy link
Contributor

@Poltergeist Poltergeist left a 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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

image

@@ -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() {
Copy link
Contributor

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?

Copy link
Contributor

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');
Copy link
Contributor

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');
Copy link
Contributor

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!

@DanielMSchmidt DanielMSchmidt force-pushed the orlandohohmeier/chore/update-cypress branch from 9b407d3 to 36d0851 Compare January 19, 2018 13:05
@DanielMSchmidt
Copy link
Contributor

@Poltergeist Added the comments 👍

@nLight
Copy link
Contributor

nLight commented Jan 19, 2018

@Poltergeist 🙏

@Poltergeist Poltergeist merged commit 2f982d1 into master Jan 19, 2018
@Poltergeist Poltergeist deleted the orlandohohmeier/chore/update-cypress branch January 19, 2018 15:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants