Skip to content

Add more Page methods and PageElement - #26

Merged
camillobruni merged 51 commits into
WebKit:mainfrom
camillobruni:2022-11-07_PageNode
Nov 30, 2022
Merged

camillobruni merged 51 commits into
WebKit:mainfrom
camillobruni:2022-11-07_PageNode

Conversation

@camillobruni

@camillobruni camillobruni commented Nov 8, 2022 •

Copy link
Copy Markdown
Contributor

Migrate all test code to go through Page or PageElement.

  • Page defines a fixed interface to interact with a test frame
  • PageElement defines a fixed interface to interact with Elements from an iframe

Cleanups:

  • Move app initialization and custom code to the specific index.html files
  • Update even.initEvent(...) code to use the recommended Event constructor

Depending on #29

@camillobruni

Copy link
Copy Markdown
Contributor Author

This PR depends no #23

@camillobruni camillobruni changed the title Add Page and PageElement Add Page methods and PageElement Nov 8, 2022
@camillobruni

Copy link
Copy Markdown
Contributor Author

This should be clean for review now.

Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/tests.mjs Resolved
Comment thread resources/tests.mjs Resolved
@camillobruni

Copy link
Copy Markdown
Contributor Author

Update the PR and added all missing semicolons (hopefully :P)

@squarewave squarewave 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.

Looks good! I would be fine with this landing as-is, but I do have a nit and a question below.

Comment thread resources/benchmark-runner.mjs Resolved
Comment thread resources/tests.mjs Resolved

@bgrins bgrins 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.

Unblocking landing based on @squarewave's review - this shouldn't be required for future reviews once he's added to the repo officially

@camillobruni
camillobruni merged commit dce4dfe into WebKit:main Nov 30, 2022
@camillobruni
camillobruni deleted the 2022-11-07_PageNode branch November 30, 2022 18:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants