Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Autotests: #2885 - Create autotests for atom tools #3361

Merged
merged 10 commits into from
Sep 29, 2023

Conversation

Zhirnoff
Copy link
Collaborator

@Zhirnoff Zhirnoff commented Sep 25, 2023

  • added tests to 'atom-tool';
  • added expected snapshots;
  • added function 'takeRightToolbarScreenshot'

How the feature works? / How did you fix the issue?

(Screenshots, videos, or GIFs, if applicable)

Check list

  • unit-tests written
  • e2e-tests written
  • documentation updated
  • PR name follows the pattern #1234 – issue name
  • branch name doesn't contain '#'
  • PR is linked with the issue
  • base branch (master or release/xx) is correct
  • task status changed to "Code review"
  • reviewers are notified about the pull request

- added expected snapshots;
- added function 'takeRightToolbarScreenshot'
@Zhirnoff Zhirnoff self-assigned this Sep 25, 2023
@Zhirnoff Zhirnoff linked an issue Sep 25, 2023 that may be closed by this pull request
- added expected snapshots;
- added 12 test files
'Molfiles-V2000/structure-list-notlist.mol',
page,
);
// eslint-disable-next-line no-magic-numbers
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we use a constant here?

- added expected snapshots;
- added 1 test file;
- added expected snapshots;
- added 'type Atoms = Exclude' to 'buttons.ts'
@Zhirnoff Zhirnoff marked this pull request as ready for review September 28, 2023 20:14
- refactoring function selectAtomsFromPeriodicTable;
- added data-testid to 'Atom.jsx'
- added 'excludeAtoms.ts'
@Nitvex Nitvex merged commit 4cb74d0 into master Sep 29, 2023
@Nitvex Nitvex deleted the 2885-autotests-create-autotests-for-atom-tools branch September 29, 2023 16:27
AnastasiyaPiatrovaKlu pushed a commit that referenced this pull request Oct 2, 2023
* - added 6 tests to 'atom-tool';
- added expected snapshots;
- added function 'takeRightToolbarScreenshot'

* - added tests to 'atom-tools';
- added expected snapshots;
- added 12 test files

* - added tests to 'atom-tool'
- added expected snapshots;
- added 1 test file;

* - added tests to 'atom-tools';
- added expected snapshots;
- added 'type Atoms = Exclude' to 'buttons.ts'

* - code refactoring;
- refactoring function selectAtomsFromPeriodicTable;
- added data-testid to 'Atom.jsx'

* - code refactoring;
- added 'excludeAtoms.ts'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Autotests: Create autotests for atom tools
4 participants