Skip to content

CI fix for Code generator #283

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 47 commits into from
Aug 10, 2023
Merged

Conversation

guptaaryan16
Copy link
Contributor

@guptaaryan16 guptaaryan16 commented Aug 4, 2023

CI Fix for the code generator app

Fix #

Additional context


What is the purpose of this pull request?

  • Bug fix
  • New feature
  • Other

@netlify
Copy link

netlify bot commented Aug 4, 2023

Deploy Preview for code-generator ready!

Name Link
🔨 Latest commit 079d20a
🔍 Latest deploy log https://app.netlify.com/sites/code-generator/deploys/64d492671cf11d00079596d6
😎 Deploy Preview https://deploy-preview-283--code-generator.netlify.app/
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@guptaaryan16 guptaaryan16 requested a review from vfdev-5 August 4, 2023 18:01
const downloadPromise = await page
.waitForEvent('download', { timeout: 2000 })
.catch(() => {
page.getByRole('button', { name: 'Code' }).click()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not understand why you do not call

page.getByRole('button', { name: 'Code' }).click()
page.getByRole('button', { name: 'Download Zip' }).click()

before download promise:

  const downloadPromise = await page
    .waitForEvent('download', { timeout: 2000 })

?

It does not seem correct to reclick 3 times in catch

Copy link
Member

@vfdev-5 vfdev-5 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @guptaaryan16

@vfdev-5 vfdev-5 merged commit d2de2e1 into pytorch-ignite:main Aug 10, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants