Skip to content

Commit

Permalink
Tests e2e webdav: relative path
Browse files Browse the repository at this point in the history
  • Loading branch information
rldhont committed Oct 15, 2024
1 parent 092b5e8 commit 519331c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/end2end/playwright/webdav-upload.spec.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// @ts-check
import * as path from 'path';
import { test, expect } from '@playwright/test';
import { gotoMap } from './globals';

Expand All @@ -18,7 +19,7 @@ test.describe('WebDAV Server', () => {

await page.locator('#jforms_view_edition_liz_future_action').selectOption("edit");

await page.locator('#jforms_view_edition_remote_path').setInputFiles("./playwright/test_upload_file/test_upload_attribute_table.txt");
await page.locator('#jforms_view_edition_remote_path').setInputFiles(path.join(__dirname, "test_upload_file/test_upload_attribute_table.txt"));
// submit the form
await page.locator('#jforms_view_edition__submit_submit').click();

Expand Down

0 comments on commit 519331c

Please sign in to comment.