Skip to content

Commit

Permalink
fixed the tests (#536)
Browse files Browse the repository at this point in the history
* Updated and Fixed the playwright tests in react-SDK

* fixed the tests

---------

Co-authored-by: mashm <[email protected]>
  • Loading branch information
4manasa and mashm authored Nov 14, 2024
1 parent 319fd2f commit c294060
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/e2e/MediaCo/portal.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ test.describe('E2E test', () => {
const sendToMgr = page.locator('label[data-test-id="C3B43E79AEC2D689F0CF97BD6AFB7DC4"]');
await sendToMgr.check();

const filePath = path.join(__dirname, '../../../../../assets/img/cableinfo.jpg');
const filePath = path.join(__dirname, '../../../assets/img/cableinfo.jpg');

const attachmentID = await page.locator('div[id="attachment-ID"]').textContent();
await page.setInputFiles(`#${attachmentID}`, filePath);
Expand Down

0 comments on commit c294060

Please sign in to comment.