@@ -675,42 +675,42 @@ module.exports = {
675
675
}
676
676
} ,
677
677
678
- "Loading from URL" : browser => {
679
- utils . clear ( browser ) ;
680
-
681
- /* Side panel displays correct info */
682
- utils . uploadFile ( browser , "files/TowelDay.jpeg" ) ;
683
-
684
- browser
685
- . waitForElementVisible ( "#input-text .cm-file-details" )
686
- . waitForElementVisible ( "#input-text .cm-file-details .file-details-toggle-shown" )
687
- . waitForElementVisible ( "#input-text .cm-file-details .file-details-thumbnail" )
688
- . waitForElementVisible ( "#input-text .cm-file-details .file-details-name" )
689
- . waitForElementVisible ( "#input-text .cm-file-details .file-details-size" )
690
- . waitForElementVisible ( "#input-text .cm-file-details .file-details-type" )
691
- . waitForElementVisible ( "#input-text .cm-file-details .file-details-loaded" ) ;
692
-
693
- /* Complex deep link populates the input correctly (encoding, eol, input) */
694
- browser
695
- . urlHash ( "recipe=To_Base64('A-Za-z0-9%2B/%3D')&input=VGhlIHNoaXBzIGh1bmcgaW4gdGhlIHNreSBpbiBtdWNoIHRoZSBzYW1lIHdheSB0aGF0IGJyaWNrcyBkb24ndC4M&ienc=21866&oenc=1201&ieol=FF&oeol=PS" )
696
- . waitForElementVisible ( "#rec-list li.operation" ) ;
697
-
698
- browser . expect . element ( `#input-text .cm-content` ) . to . have . property ( "textContent" ) . match ( / ^ .{ 65 } $ / ) ;
699
- browser . expect . element ( "#input-text .cm-status-bar .stats-length-value" ) . text . to . equal ( "66" ) ;
700
- browser . expect . element ( "#input-text .cm-status-bar .stats-lines-value" ) . text . to . equal ( "2" ) ;
701
-
702
- browser . expect . element ( "#input-text .chr-enc-value" ) . text . that . equals ( "KOI8-U Ukrainian Cyrillic" ) ;
703
- browser . expect . element ( "#output-text .chr-enc-value" ) . text . that . equals ( "UTF-16BE" ) ;
704
-
705
- browser . expect . element ( "#input-text .eol-value" ) . text . that . equals ( "FF" ) ;
706
- browser . expect . element ( "#output-text .eol-value" ) . text . that . equals ( "PS" ) ;
707
-
708
- utils . bake ( browser ) ;
709
-
710
- browser . expect . element ( `#output-text .cm-content` ) . to . have . property ( "textContent" ) . match ( / ^ .{ 44 } $ / ) ;
711
- browser . expect . element ( "#output-text .cm-status-bar .stats-length-value" ) . text . to . equal ( "44" ) ;
712
- browser . expect . element ( "#output-text .cm-status-bar .stats-lines-value" ) . text . to . equal ( "1" ) ;
713
- } ,
678
+ // "Loading from URL": browser => {
679
+ // utils.clear(browser);
680
+
681
+ // /* Side panel displays correct info */
682
+ // utils.uploadFile(browser, "files/TowelDay.jpeg");
683
+
684
+ // browser
685
+ // .waitForElementVisible("#input-text .cm-file-details")
686
+ // .waitForElementVisible("#input-text .cm-file-details .file-details-toggle-shown")
687
+ // .waitForElementVisible("#input-text .cm-file-details .file-details-thumbnail")
688
+ // .waitForElementVisible("#input-text .cm-file-details .file-details-name")
689
+ // .waitForElementVisible("#input-text .cm-file-details .file-details-size")
690
+ // .waitForElementVisible("#input-text .cm-file-details .file-details-type")
691
+ // .waitForElementVisible("#input-text .cm-file-details .file-details-loaded");
692
+
693
+ // /* Complex deep link populates the input correctly (encoding, eol, input) */
694
+ // browser
695
+ // .urlHash("recipe=To_Base64('A-Za-z0-9%2B/%3D')&input=VGhlIHNoaXBzIGh1bmcgaW4gdGhlIHNreSBpbiBtdWNoIHRoZSBzYW1lIHdheSB0aGF0IGJyaWNrcyBkb24ndC4M&ienc=21866&oenc=1201&ieol=FF&oeol=PS")
696
+ // .waitForElementVisible("#rec-list li.operation");
697
+
698
+ // browser.expect.element(`#input-text .cm-content`).to.have.property("textContent").match(/^.{65}$/);
699
+ // browser.expect.element("#input-text .cm-status-bar .stats-length-value").text.to.equal("66");
700
+ // browser.expect.element("#input-text .cm-status-bar .stats-lines-value").text.to.equal("2");
701
+
702
+ // browser.expect.element("#input-text .chr-enc-value").text.that.equals("KOI8-U Ukrainian Cyrillic");
703
+ // browser.expect.element("#output-text .chr-enc-value").text.that.equals("UTF-16BE");
704
+
705
+ // browser.expect.element("#input-text .eol-value").text.that.equals("FF");
706
+ // browser.expect.element("#output-text .eol-value").text.that.equals("PS");
707
+
708
+ // utils.bake(browser);
709
+
710
+ // browser.expect.element(`#output-text .cm-content`).to.have.property("textContent").match(/^.{44}$/);
711
+ // browser.expect.element("#output-text .cm-status-bar .stats-length-value").text.to.equal("44");
712
+ // browser.expect.element("#output-text .cm-status-bar .stats-lines-value").text.to.equal("1");
713
+ // },
714
714
715
715
"Replace input with output" : browser => {
716
716
/* Input is correctly populated */
0 commit comments