Skip to content

Commit

Permalink
test: change the value of visible and display to true to display the …
Browse files Browse the repository at this point in the history
…database panel
  • Loading branch information
hamed-musallam committed Jan 8, 2025
1 parent ddb1085 commit bf459f2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
5 changes: 4 additions & 1 deletion test-e2e/core/setting.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,11 @@ test('should Change the visibility of the panels', async ({ page }) => {
//click on the display tab
await nmrium.page.getByRole('tablist').locator('text=Panels').click();

//change the checkbox value to tru
//change the checkbox value to true
await nmrium.page.locator('td:has-text("Databases panel") + td').click();
await nmrium.page
.locator('td:has-text("Databases panel") + td + td')
.click();

await nmrium.saveWorkspaceModal('test');

Expand Down
4 changes: 4 additions & 0 deletions test-e2e/panels/autoassignment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,13 @@ test('automatic assignment panel', async ({ page }) => {
await nmrium.page.click('_react=ToolbarItem[id="general-settings"]');
await nmrium.page.click('div[role="dialog"] >> text=Panels');

//change the checkbox value for 'visible' and 'display' to true
await nmrium.page
.locator('td:has-text("Automatic assignment panel") + td')
.click();
await nmrium.page
.locator('td:has-text("Automatic assignment panel") + td + td')
.click();

await nmrium.saveWorkspaceModal('test');
});
Expand Down

0 comments on commit bf459f2

Please sign in to comment.