Skip to content

Add more Page methods and PageElement#26

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

Add more Page methods and PageElement#26
camillobruni merged 51 commits intoWebKit:mainfrom
camillobruni:2022-11-07_PageNode

Conversation

@camillobruni
Copy link
Contributor

@camillobruni camillobruni commented Nov 8, 2022

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
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
Contributor Author

This should be clean for review now.

@camillobruni
Copy link
Contributor Author

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

Copy link
Contributor

@squarewave squarewave left a comment

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.

Copy link
Contributor

@bgrins bgrins left a comment

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