Skip to content

Commit

Permalink
fix: .project-loader is now .project-loading (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
zevisert authored and gr2m committed Oct 10, 2018
1 parent 2b160d1 commit f712be0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/glitch-deploy.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,9 +95,9 @@ const importGitHubRepo = require('../lib/import-github-repo')
debug(`Opening https://glitch.com/edit/#!/${glitchInfo.appName}`)
await state.page.goto(`https://glitch.com/edit/#!/${glitchInfo.appName}`)
debug(`Editor is loading`)
// await state.page.waitForSelector('.project-loader.hidden')

await state.page.waitFor(() => {
return !!document.querySelector('.project-loader.hidden')
return !!document.querySelector('.project-loading.hidden')
})
debug(`${glitchInfo.appName} opened`)

Expand Down

0 comments on commit f712be0

Please sign in to comment.