Skip to content

Commit

Permalink
chore: Revert e2e test changes
Browse files Browse the repository at this point in the history
Render logic was changed to be similar to how it was prior to this PR, thus these changes are no longer relevant.
  • Loading branch information
polarathene committed Sep 12, 2020
1 parent a464f4e commit 976012d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion e2e-tests/gatsby-image/cypress/integration/fluid.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ describe(`fluid`, () => {
cy.getTestElement(fluidTestId)
.find(`.gatsby-image-wrapper > div`)
.should(`have.attr`, `style`)
.and(`match`, /width: 100%; padding-bottom/)
.and(`match`, /width:100%;padding-bottom/)
})

it(`renders sizes`, () => {
Expand Down
4 changes: 2 additions & 2 deletions e2e-tests/gatsby-image/cypress/integration/image.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ describe(`Production gatsby-image`, () => {
.should(`eq`, 1)
})

it(`has position relative`, () => {
it(`contains position relative`, () => {
cy.getTestElement(fluidTestId)
.find(`.gatsby-image-wrapper`)
.should(`have.attr`, `style`)
.and(`match`, /position: relative/)
.and(`contains`, `position:relative`)
})
})
})
Expand Down

0 comments on commit 976012d

Please sign in to comment.