Skip to content

Commit 0311260

Browse files
test: fix test and remove the broken url
1 parent 8ecebc6 commit 0311260

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

src/demo/NMRiumWrapperDemo.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@ export default function NMRiumWrapperDemo() {
4545
'https://cheminfo.github.io/nmr-dataset-demo/cytisine/13c.jdx',
4646
'https://cheminfo.github.io/nmr-dataset-demo/cytisine/1h.jdx',
4747
'https://cheminfo.github.io/bruker-data-test/data/zipped/aspirin-1h.zip',
48-
'https://nmrxiv.org/NRayya/datasets/fsu-nmr-platform-samples/cucurbitacin-e/12',
4948
'../data/13c.zip',
5049
],
5150
type: 'url',

test-e2e/core.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ test('should load NMRium from external Urls', async ({ page }) => {
2323

2424
await nmrium.page.click('text=Test Load from URLS');
2525

26+
await page.locator('text=Loading').waitFor({ state: 'hidden' });
27+
2628
// if loaded successfully, there should be a 1H and 13C tabs
2729
await test.step('spectra should be loaded', async () => {
2830
await expect(

0 commit comments

Comments
 (0)