Skip to content

Commit 114f7a2

Browse files
committed
final e2e fix
1 parent 0754b74 commit 114f7a2

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

apps/remix-ide-e2e/src/tests/dgit_local.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ module.exports = {
132132
.click('*[data-id="commitButton"]')
133133
},
134134
'push the commit #group1': function (browser: NightwatchBrowser) {
135-
const tag = browser.options.desiredCapabilities?.browserName === 'firefox' ? 'ahead' : ''
135+
// const tag = browser.options.desiredCapabilities?.browserName === 'firefox' ? 'ahead' : ''
136136
browser
137137
.waitForElementVisible('*[data-id="commands-panel"]', 60000)
138138
.click('*[data-id="commands-panel"]')
@@ -142,7 +142,7 @@ module.exports = {
142142
.waitForElementVisible('*[data-id="commits-panel"]', 60000)
143143
.click('*[data-id="commits-panel"]')
144144
.waitForElementPresent({
145-
selector: `//*[@data-id="commit-summary-testcommit2-${tag}"]`,
145+
selector: `//*[@data-id="commit-summary-testcommit2-"]`,
146146
locateStrategy: 'xpath',
147147
timeout: 60000
148148
}).pause(2000)

libs/remix-ui/solidity-unit-testing/src/lib/solidity-unit-testing.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,14 @@ export const SolidityUnitTesting = (props: Record<string, any>) => {
208208
if (testDirInput.endsWith('/') && testDirInput !== '/') {
209209
testDirInput = helper.removeTrailingSlashes(testDirInput)
210210
if (testTabLogic.currentPath === testDirInput.substr(0, testDirInput.length - 1)) {
211-
setDisableCreateButton(true)
211+
setDisableCreateButton(false)
212212
setDisableGenerateButton(true)
213213
}
214214
updateDirList(testDirInput)
215215
} else {
216216
// If there is no matching folder in the workspace with entered text, enable Create button
217217
if (await testTabLogic.pathExists(testDirInput)) {
218-
setDisableCreateButton(true)
218+
setDisableCreateButton(false)
219219
setDisableGenerateButton(false)
220220
} else {
221221
// Enable Create button

0 commit comments

Comments
 (0)