Skip to content

Commit 438026e

Browse files
committed
chore: fix the tooltip for pasting molfile or SMILES
1 parent e8a323c commit 438026e

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/component/panels/MoleculesPanel/MoleculePanelHeader.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ export default function MoleculePanelHeader(props: MoleculePanelHeaderProps) {
267267
/>
268268
)}
269269
<Toolbar.Item
270-
tooltip="Paste molfile"
270+
tooltip="Paste SMILES or molfile"
271271
icon={<FaPaste />}
272272
onClick={handlePasteMolfileAction}
273273
/>

test-e2e/panels/structures.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,9 +411,9 @@ test('molecules 1H spectrum', async ({ page, browserName }) => {
411411
if (browserName !== 'webkit') {
412412
await test.step('Check copy as molfile V3 or V2 and paste', async () => {
413413
await clickExportMenuOption(nmrium, 'text=Copy as molfile V3');
414-
await nmrium.clickToolByTitle('Paste molfile');
414+
await nmrium.clickToolByTitle('Paste SMILES or molfile');
415415
await clickExportMenuOption(nmrium, 'text=Copy as molfile V2');
416-
await nmrium.clickToolByTitle('Paste molfile');
416+
await nmrium.clickToolByTitle('Paste SMILES or molfile');
417417

418418
await expect(
419419
nmrium.page.locator('_react=MoleculePanel >> text=5 / 5'),

0 commit comments

Comments
 (0)