Skip to content

Commit

Permalink
undo accediantly commits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan committed Jul 27, 2023
1 parent 33e3d33 commit ac7e8fb
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion packages/web-runtime/src/store/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const actions = {
commit('ENQUEUE_MESSAGE', message)
},
showMessage({ commit }, message) {
commit('ENQUEUE_MESSAGE', { ...message, timeout: 0 })
commit('ENQUEUE_MESSAGE', message)
},
deleteMessage(context, mId) {
context.commit('REMOVE_MESSAGE', mId)
Expand Down
2 changes: 0 additions & 2 deletions tests/acceptance/pageObjects/webPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@ module.exports = {
const messages = []
await this.waitForElementVisible('@errorMessages')
await this.api.elements('@errorMessages', function ({ value }) {
console.log(value)
value.forEach(async function ({ ELEMENT }) {
console.log(ELEMENT)
await client.elementIdText(ELEMENT, function ({ value }) {
messages.push(value)
})
Expand Down
3 changes: 0 additions & 3 deletions tests/acceptance/stepDefinitions/filesContext.js
Original file line number Diff line number Diff line change
Expand Up @@ -1348,10 +1348,7 @@ When('the user closes rename dialog', function () {

Then('notifications should be displayed on the webUI with the text', async function (message) {
const actualMessages = await client.page.webPage().getPopupErrorMessages()
console.log(actualMessages)
console.log("??????????????")
const isMessageShown = assertIncludesMessage(actualMessages, message)
//await client.page.webPage().pause()

assert.strictEqual(isMessageShown, true, `Expected '${message}' but not found`)
})
Expand Down

0 comments on commit ac7e8fb

Please sign in to comment.