@@ -3,6 +3,7 @@ import { NightwatchBrowser } from 'nightwatch'
33import init from '../helpers/init'
44
55module . exports = {
6+ '@disabled' : true ,
67 before : function ( browser : NightwatchBrowser , done : VoidFunction ) {
78 init ( browser , done )
89 } ,
@@ -134,6 +135,7 @@ module.exports = {
134135 . waitForElementVisible ( '*[data-id="treeViewLitreeViewItemcontracts"]' )
135136 . waitForElementVisible ( '*[data-id="treeViewLitreeViewItemcontracts/TestToken.sol"]' )
136137 . click ( '*[data-id="treeViewLitreeViewItemcontracts/TestToken.sol"]' )
138+ . pause ( 2000 )
137139 . getEditorValue ( ( content ) => {
138140 browser . assert . ok ( content . indexOf ( `contract TestToken is ERC20, ERC20Burnable, ERC20Pausable, Ownable {` ) !== - 1 ,
139141 'Incorrect content' )
@@ -184,7 +186,9 @@ module.exports = {
184186 } )
185187 . waitForElementVisible ( '*[data-id="treeViewLitreeViewItemscripts"]' )
186188 . click ( '*[data-id="compile-action"]' )
187- . waitForElementVisible ( '#verticalIconsKindsolidity > i.remixui_status.fas.fa-check-circle.text-success.remixui_statusCheck' )
189+ // Shows 3 warnings to inform about the deprecation of the use of 'assembly ("memory-safe")' in OZ files
190+ // See: https://docs.soliditylang.org/en/latest/assembly.html#memory-safety
191+ . waitForElementVisible ( '#verticalIconsKindsolidity > i.remixui_status.badge.rounded-pill.bg-warning' )
188192 . clickLaunchIcon ( 'solidity' )
189193 . isVisible ( '*[data-id="compilation-details"]' )
190194 } ,
@@ -416,6 +420,7 @@ module.exports = {
416420 . pause ( 1000 )
417421 . waitForElementVisible ( '*[data-id="treeViewLitreeViewItemipfs/QmQQfBMkpDgmxKzYaoAtqfaybzfgGm9b2LWYyT56Chv6xH"]' )
418422 . click ( '*[data-id="treeViewLitreeViewItemipfs/QmQQfBMkpDgmxKzYaoAtqfaybzfgGm9b2LWYyT56Chv6xH"]' )
423+ . pause ( 2000 )
419424 . getEditorValue ( ( content ) => {
420425 browser . assert . ok ( content . indexOf ( `contract Storage {` ) !== - 1 ,
421426 'Correct content' )
@@ -444,6 +449,7 @@ module.exports = {
444449 . click ( '*[data-id="treeViewDivtreeViewItemgithub/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC6909"]' )
445450 . waitForElementVisible ( '*[data-id="treeViewDivtreeViewItemgithub/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC6909/ERC6909.sol"]' )
446451 . click ( '*[data-id="treeViewDivtreeViewItemgithub/OpenZeppelin/openzeppelin-contracts/contracts/token/ERC6909/ERC6909.sol"]' )
452+ . pause ( 2000 )
447453 . getEditorValue ( ( content ) => {
448454 browser . assert . ok ( content . indexOf ( `contract ERC6909 is Context, ERC165, IERC6909 {` ) !== - 1 ,
449455 'Correct content' )
0 commit comments