Skip to content

Commit

Permalink
Autotests: #5558 - Add ambiguous monomers to the library and allow th…
Browse files Browse the repository at this point in the history
…eir addition to the canvas - Case 9 - Nucleotides
  • Loading branch information
AlexeyGirin committed Sep 26, 2024
1 parent b7ed2e4 commit b70e8e9
Show file tree
Hide file tree
Showing 46 changed files with 23 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,25 @@ test.describe('Connection rules for Nucleotide monomers: ', () => {
// R5: 'R5',
// },
// },
J: {
monomerType: 'peptide',
fileName:
'KET/Peptide-Templates/16 - J - ambiguous alternatives from library (R1,R2).ket',
alias: 'J',
connectionPoints: {
R1: 'R1',
R2: 'R2',
},
},
// '%': {
// monomerType: 'peptide',
// fileName: 'KET/Base-Templates/17 - J - ambiguous mixed (R1,R2).ket',
// alias: '%',
// connectionPoints: {
// R1: 'R1',
// R2: 'R2',
// },
// },
};

Object.values(nucleotideMonomers).forEach((leftNucleotide) => {
Expand All @@ -624,7 +643,7 @@ test.describe('Connection rules for Nucleotide monomers: ', () => {
* 4. Validate canvas (connection should appear)
*/
test(`Case3: Cnnct ${leftNucleotideConnectionPoint} to ${rightPeptideConnectionPoint} of Nuc(${leftNucleotide.alias}) and Pept(${rightPeptide.alias})`, async () => {
test.setTimeout(20000);
test.setTimeout(40000);

await loadTwoMonomers(page, leftNucleotide, rightPeptide);

Expand Down Expand Up @@ -856,7 +875,7 @@ test.describe('Connection rules for Nucleotide monomers: ', () => {
* 4. Validate canvas (connection should appear)
*/
test(`Case5: Cnnct Center to Center of Nucleotide(${leftNucleotide.alias}) and Peptide(${rightPeptide.alias})`, async () => {
test.setTimeout(20000);
test.setTimeout(40000);

await loadTwoMonomers(page, leftNucleotide, rightPeptide);

Expand Down Expand Up @@ -1548,7 +1567,7 @@ test.describe('Connection rules for Nucleotide monomers: ', () => {
* 4. Validate canvas (connection should appear)
*/
test(`Case11: Cnnct ${leftNucleotideConnectionPoint} to ${rightBaseConnectionPoint} of Nuc(${leftNucleotide.alias}) and Base(${rightBase.alias})`, async () => {
test.setTimeout(20000);
test.setTimeout(40000);

/* In order to fix problem with label renderer (one pixel shift)
we have to try to reload page
Expand Down Expand Up @@ -1599,7 +1618,7 @@ test.describe('Connection rules for Nucleotide monomers: ', () => {
* 4. Validate canvas (connection should appear)
*/
test(`Case12: Cnnct Center to Center of Nucleotide(${leftNucleotide.alias}) and Base(${rightBase.alias})`, async () => {
test.setTimeout(20000);
test.setTimeout(40000);

await loadTwoMonomers(page, leftNucleotide, rightBase);

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b70e8e9

Please sign in to comment.