Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.

Commit 1a3050c

Browse files
committed
test: remove escape test
1 parent d7df623 commit 1a3050c

1 file changed

Lines changed: 0 additions & 21 deletions

File tree

test/integration/ruby-tab/operators.test.js

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,16 @@
11
import dedent from 'dedent';
22
import SeleniumHelper from '../../helpers/selenium-helper';
33
import RubyHelper from '../../helpers/ruby-helper';
4-
import {EDIT_MENU_XPATH} from '../../helpers/menu-xpaths';
54

65
const seleniumHelper = new SeleniumHelper();
76
const {
8-
clickText,
9-
clickXpath,
107
getDriver,
118
loadUri,
129
urlFor
1310
} = seleniumHelper;
1411

1512
const rubyHelper = new RubyHelper(seleniumHelper);
1613
const {
17-
fillInRubyProgram,
18-
currentRubyProgram,
1914
expectInterconvertBetweenCodeAndRuby
2015
} = rubyHelper;
2116

@@ -98,20 +93,4 @@ describe('Ruby Tab: Operators category blocks', () => {
9893
`;
9994
await expectInterconvertBetweenCodeAndRuby(code);
10095
});
101-
102-
test('Ruby -> Code -> Ruby (escape characters) ', async () => {
103-
await loadUri(urlFor('/'));
104-
105-
const ruby = String.raw`"\\" + "\\"
106-
107-
"\n" + "\n"`;
108-
109-
await clickText('Ruby', '*[@role="tab"]');
110-
await fillInRubyProgram(ruby);
111-
await clickText('Code', '*[@role="tab"]');
112-
await clickXpath(EDIT_MENU_XPATH);
113-
await clickText('Generate Ruby from Code');
114-
await clickText('Ruby', '*[@role="tab"]');
115-
expect(await currentRubyProgram()).toEqual(`${ruby}\n`);
116-
});
11796
});

0 commit comments

Comments
 (0)