Преглед изворни кода

Update tests - refresh origin button is now hidden by default

simov пре 7 година
родитељ
комит
4ed19bedaa
4 измењених фајлова са 4 додато и 4 уклоњено
  1. 1 1
      test/advanced-csp.js
  2. 1 1
      test/advanced-encoding.js
  3. 1 1
      test/advanced-origins.js
  4. 1 1
      test/popup-options.js

+ 1 - 1
test/advanced-csp.js

@@ -15,7 +15,7 @@ module.exports = ({extensions, advanced, content}) => {
           .classList.contains('m-expanded'))) {
         await advanced.click('.m-list li:nth-of-type(2)')
       }
-      await advanced.click('.m-list li:nth-of-type(2) .m-footer .m-button:nth-of-type(2)')
+      await advanced.click('.m-list li:nth-of-type(2) .m-footer .m-button')
     }
 
     // add origin

+ 1 - 1
test/advanced-encoding.js

@@ -15,7 +15,7 @@ module.exports = ({advanced, content}) => {
           .classList.contains('m-expanded'))) {
         await advanced.click('.m-list li:nth-of-type(2)')
       }
-      await advanced.click('.m-list li:nth-of-type(2) .m-footer .m-button:nth-of-type(2)')
+      await advanced.click('.m-list li:nth-of-type(2) .m-footer .m-button')
     }
 
     // add origin

+ 1 - 1
test/advanced-origins.js

@@ -15,7 +15,7 @@ module.exports = ({advanced, content}) => {
           .classList.contains('m-expanded'))) {
         await advanced.click('.m-list li:nth-of-type(2)')
       }
-      await advanced.click('.m-list li:nth-of-type(2) .m-footer .m-button:nth-of-type(2)')
+      await advanced.click('.m-list li:nth-of-type(2) .m-footer .m-button')
     }
 
     // add origin

+ 1 - 1
test/popup-options.js

@@ -15,7 +15,7 @@ module.exports = ({popup, advanced, content}) => {
           .classList.contains('m-expanded'))) {
         await advanced.click('.m-list li:nth-of-type(2)')
       }
-      await advanced.click('.m-list li:nth-of-type(2) .m-footer .m-button:nth-of-type(2)')
+      await advanced.click('.m-list li:nth-of-type(2) .m-footer .m-button')
     }
 
     // add origin