-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#3019 - Add Phenylalanice mustard to template library
- Loading branch information
Showing
2 changed files
with
83 additions
and
0 deletions.
There are no files selected for viewing
27 changes: 27 additions & 0 deletions
27
ketcher-autotests/tests/Templates/Template-Library/template-library.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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
import { test } from '@playwright/test'; | ||
import { | ||
selectTopPanelButton, | ||
takeEditorScreenshot, | ||
TopPanelButton, | ||
} from '@utils'; | ||
|
||
test.describe('Templates - Template Library', () => { | ||
test.beforeEach(async ({ page }) => { | ||
await page.goto(''); | ||
}); | ||
|
||
test.afterEach(async ({ page }) => { | ||
await takeEditorScreenshot(page); | ||
}); | ||
|
||
test.only('Template with chiral flag 0 with ignoreChiralFlag enabled/disabled', async ({ | ||
page, | ||
}) => { | ||
await selectTopPanelButton(TopPanelButton.Settings, page); | ||
await page.getByText('Stereochemistry', { exact: true }).click(); | ||
await page.getByLabel('Ignore the chiral flag').click(); | ||
// await pressButton(page, 'Labels Only'); | ||
// await page.getByRole('option', { name: color }).click(); | ||
// await pressButton(page, 'Apply'); | ||
}); | ||
}); |
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