Skip to content

Commit

Permalink
Adds sample orders e2e fixture, uses it
Browse files Browse the repository at this point in the history
  • Loading branch information
kylehill committed Feb 22, 2023
1 parent 1f1f4da commit 1bc1117
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
Binary file added playwright/fixtures/AF Orders Sample.pdf
Binary file not shown.
2 changes: 1 addition & 1 deletion playwright/tests/my/mymove/orders.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test('Users can upload orders', async ({ page, customerPage }) => {
// Upload an orders document, then submit
// Annoyingly, there's no test IDs or labeling text for this control, so the only way to access it is .locator
const filepondContainer = page.locator('.filepond--wrapper');
await customerPage.uploadFileViaFilepond(filepondContainer, 'sampleWeightTicket.jpg');
await customerPage.uploadFileViaFilepond(filepondContainer, 'AF Orders Sample.pdf');
await customerPage.navigateForward();

// Verify that we're on the home page and that orders have been uploaded
Expand Down

0 comments on commit 1bc1117

Please sign in to comment.