Skip to content

Commit

Permalink
Changing where the plugin is being installed from
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen.ritter committed Jun 25, 2024
1 parent 46a69c9 commit edf0a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions playwright/tests/admin/plugins.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ test('installs a new plugin', async ({ page, utils }) => {
// Opens the file chooser.
await page.locator('text=Click to select').click({ force: true }),
])
await fileChooser.setFiles(`../${plugin}/${pluginGem}`)
await fileChooser.setFiles(`./${plugin}/${pluginGem}`)
await expect(page.locator('.v-dialog:has-text("Variables")')).toBeVisible()
await page.locator('data-test=edit-submit').click()
await expect(page.locator('[data-test=plugin-alert]')).toContainText(
Expand Down Expand Up @@ -402,7 +402,7 @@ test('upgrades existing plugin', async ({ page, utils }) => {
)
.click(),
])
await fileChooser.setFiles(`../${plugin}/${pluginGem1}`)
await fileChooser.setFiles(`./${plugin}/${pluginGem1}`)
await expect(page.locator('.v-dialog:has-text("Variables")')).toBeVisible()
await page.locator('data-test=edit-submit').click()
await expect(page.locator('.v-dialog:has-text("Modified")')).toBeVisible()
Expand Down

0 comments on commit edf0a6d

Please sign in to comment.