Skip to content

Commit

Permalink
Merge branch 'main' into pierremtb/issue4444-sweep-point-and-click
Browse files Browse the repository at this point in the history
  • Loading branch information
pierremtb authored Jan 10, 2025
2 parents 0bfb6bc + 2b0ba37 commit 6740bb2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/ci-cd-scripts/playwright-electron.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ if [[ ! -f "test-results/.last-run.json" ]]; then
fi

retry=1
max_retrys=4
max_retrys=5

# retry failed tests, doing our own retries because using inbuilt playwright retries causes connection issues
while [[ $retry -le $max_retrys ]]; do
Expand Down
2 changes: 2 additions & 0 deletions e2e/playwright/point-click.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1280,9 +1280,11 @@ shellSketchOnFacesCases.forEach((initialCode, index) => {
commandName: 'Shell',
})
await clickOnCap()
await page.waitForTimeout(500)
await cmdBar.progressCmdBar()
await page.waitForTimeout(500)
await cmdBar.progressCmdBar()
await page.waitForTimeout(500)
await cmdBar.expectState({
stage: 'review',
headerArguments: {
Expand Down
3 changes: 1 addition & 2 deletions playwright.electron.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,9 @@ export default defineConfig({
},
projects: [
{
name: 'Google Chrome',
name: 'chromium',
use: {
...devices['Desktop Chrome'],
channel: 'chrome',
contextOptions: {
/* Chromium is the only one with these permission types */
permissions: ['clipboard-write', 'clipboard-read'],
Expand Down

0 comments on commit 6740bb2

Please sign in to comment.