Skip to content

Local autosave: Expand E2E tests - #17503

Merged
mcsf merged 2 commits into
masterfrom
update/local-autosave-e2e-tests
Sep 25, 2019
Merged

mcsf merged 2 commits into
masterfrom
update/local-autosave-e2e-tests

Conversation

@mcsf

@mcsf mcsf commented Sep 20, 2019 •

Copy link
Copy Markdown
Contributor

Description

Fixes part of #17495

@mcsf mcsf added the [Feature] Saving Related to saving functionality label Sep 20, 2019

@epiqueras epiqueras left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Maybe we shouldn't close #17495 yet?

We're still missing this:

  • Add documentation for the newly introduced component

expect( await page.evaluate( () => window.sessionStorage.length ) ).toBe( 1 );

const logoutUrl = await page.$eval( '#wp-admin-bar-logout a', ( element ) => element.href );
await page.goto( logoutUrl );

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Can't we just click on the button/link?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Right, click should work better in this case 👍

@gziolo gziolo added the [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests. label Sep 23, 2019
@mcsf

mcsf commented Sep 23, 2019

Copy link
Copy Markdown
Contributor Author

Maybe we shouldn't close #17495 yet?

Well spotted.

@epiqueras epiqueras left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM after rebasing to pass the e2e tests.

@mcsf
mcsf force-pushed the update/local-autosave-e2e-tests branch from efb00c2 to 482ce6d Compare September 25, 2019 16:31
@mcsf

mcsf commented Sep 25, 2019

Copy link
Copy Markdown
Contributor Author

LGTM after rebasing to pass the e2e tests.

Thanks!

@mcsf
mcsf force-pushed the update/local-autosave-e2e-tests branch from 482ce6d to eb2eba8 Compare September 25, 2019 17:22
@mcsf
mcsf merged commit 35e0bad into master Sep 25, 2019
@mcsf
mcsf deleted the update/local-autosave-e2e-tests branch September 25, 2019 17:45
@youknowriad youknowriad added this to the Gutenberg 6.6 milestone Sep 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

[Feature] Saving Related to saving functionality [Type] Automated Testing Testing infrastructure changes impacting the execution of end-to-end (E2E) and/or unit tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants