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

fix: use correct frame target #618

Merged
merged 1 commit into from
Jul 18, 2023
Merged

fix: use correct frame target #618

merged 1 commit into from
Jul 18, 2023

Conversation

OrKoN
Copy link
Collaborator

@OrKoN OrKoN commented Jul 18, 2023

Previous PR caused a regression here that was masked by another issue. localFrame should be the one used for selectors. TargetPageOrFrame should only be used to access non-local frame. Perhaps we could refactor this in the future.

Previous PR caused a regression here that
was masked by another issue. localFrame should be the one
used for selectors. TargetPageOrFrame should only be used
to access non-local frame. Perhaps we could refactor this
in the future.
@@ -218,7 +218,7 @@ describe('Runner', () => {
},
{
type: StepType.Click,
selectors: [['.parent', '.child']],
selectors: ['.parent > .child'],
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

this test case was not strictly speaking correct as there is no shadow DOM boundary in the test page => should be a normal CSS selector.

@OrKoN OrKoN merged commit 9a998e4 into main Jul 18, 2023
12 checks passed
@OrKoN OrKoN deleted the orkon/fix-runner branch July 18, 2023 11:47
OrKoN pushed a commit that referenced this pull request Jul 18, 2023
🤖 I have created a release *beep* *boop*
---


##
[2.13.2](v2.13.1...v2.13.2)
(2023-07-18)


### Bug Fixes

* pierce selectors should be generated using :scope
([#613](#613))
([e8abd93](e8abd93))
* use correct frame target
([#618](#618))
([9a998e4](9a998e4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
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.

None yet

2 participants