Skip to content

Commit

Permalink
fix: update codegen to generate correct actions (#971)
Browse files Browse the repository at this point in the history
  • Loading branch information
vigneshshanmugam authored Nov 7, 2024
1 parent cf9d891 commit fc8aa99
Show file tree
Hide file tree
Showing 3 changed files with 52 additions and 143 deletions.
12 changes: 3 additions & 9 deletions __tests__/formatter/__snapshots__/javascript.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,7 @@ step('Go to https://vigneshh.in/', async () => {
const page1Promise = page.waitForEvent('popup');
await page.locator('text=Tailor').click();
page1 = await page1Promise;
await page1.frame({
url: 'https://github.com/zalando/tailor'
}).locator('text=Packages 0').click();
await page1.locator('text=Packages 0').click();
});
step('Close page', async () => {
await page1.close();
Expand All @@ -63,9 +61,7 @@ step('Close page', async () => {
page2 = await page2Promise;
});
step('Close page', async () => {
await page2.frame({
url: 'https://github.com/babel/minify'
}).close();
await page2.close();
});"
`;

Expand All @@ -89,9 +85,7 @@ step('Click text=Babel Minify', async () => {
await page2.locator(':nth-match(a:has-text("babel-minify"), 3)').click();
});
step('Close page', async () => {
await page2.frame({
url: 'https://github.com/topics/babel-minify'
}).close();
await page2.close();
});"
`;

Expand Down
Loading

0 comments on commit fc8aa99

Please sign in to comment.