Skip to content

Commit

Permalink
test: fix panel selector
Browse files Browse the repository at this point in the history
  • Loading branch information
hamed-musallam committed Aug 13, 2024
1 parent f21e7b5 commit 5497d7b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test-e2e/core.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import { test, expect } from '@playwright/test';
import NmriumWrapperPage from './NmriumWrapperPage';

async function testLoadStructure(nmrium: NmriumWrapperPage) {
// Open the "Structures" panel.
await nmrium.page.click('button >> text=Structures');
// Open the "Chemical structures" panel.
await nmrium.page.click('button >> text=Chemical structures');

// The molecule SVG rendering should now be visible in the panel.
await expect(
Expand Down

0 comments on commit 5497d7b

Please sign in to comment.