-
Notifications
You must be signed in to change notification settings - Fork 165
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
12 additions
and
15 deletions.
There are no files selected for viewing
27 changes: 12 additions & 15 deletions
27
ketcher-autotests/tests/Templates/S-Groups/s-groups.spec.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,31 @@ | ||
/* eslint-disable no-magic-numbers */ | ||
import { test } from '@playwright/test'; | ||
import { | ||
pressButton, | ||
waitForKetcherInit, | ||
takeEditorScreenshot, | ||
openFileAndAddToCanvas, | ||
} from '@utils'; | ||
|
||
test.describe('S-Groups', () => { | ||
test.beforeEach(async ({ page }) => { | ||
await page.goto(''); | ||
await waitForKetcherInit(page); | ||
}); | ||
|
||
test.afterEach(async ({ page }) => { | ||
await takeEditorScreenshot(page); | ||
}); | ||
|
||
// this test works locally, but do not work in CI for some reason | ||
test.fixme( | ||
'Open file with several s-groups and check brackets', | ||
async ({ page }) => { | ||
/* | ||
test('Open file with several s-groups and check brackets', async ({ | ||
page, | ||
}) => { | ||
/* | ||
Test case related to issue: https://github.com/epam/ketcher/issues/2389 | ||
Description: Open file with S-groups (with Unsupported S-group type) and see that brackets in place for all S-Groups except DAT | ||
Description: Open file with S-groups (with Unsupported S-group type GEN) and see that brackets in place for all S-Groups except DAT | ||
*/ | ||
await openFileAndAddToCanvas( | ||
'structure-with-s-groups-with-unsupported-s-group-type.rxn', | ||
page, | ||
); | ||
await pressButton(page, 'OK'); | ||
await takeEditorScreenshot(page); | ||
}, | ||
); | ||
await openFileAndAddToCanvas( | ||
'structure-with-s-groups-with-unsupported-s-group-type.rxn', | ||
page, | ||
); | ||
}); | ||
}); |
Binary file modified
BIN
-118 Bytes
(100%)
...-Groups-Open-file-with-several-s-groups-and-check-brackets-1-chromium-linux.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed
BIN
-29.1 KB
...-Groups-Open-file-with-several-s-groups-and-check-brackets-2-chromium-linux.png
Binary file not shown.