|
| 1 | +name: 🐛 Bug report |
| 2 | +description: Create a report with an issue. |
| 3 | +title: '[🐛 Bug]: <title>' |
| 4 | +labels: [bug 🐛, needs triaging ⏳] |
| 5 | +body: |
| 6 | + |
| 7 | + - type: checkboxes |
| 8 | + attributes: |
| 9 | + label: 🔎 Have you searched existing issues to avoid duplicates? |
| 10 | + options: |
| 11 | + - label: I have made sure that my issue is not a duplicate. |
| 12 | + required: true |
| 13 | + |
| 14 | + - type: checkboxes |
| 15 | + attributes: |
| 16 | + label: 🧪 Have you tested your code using latest version of Synpress? |
| 17 | + options: |
| 18 | + - label: I have made sure that my issue still exists on [latest version of Synpress](https://github.com/Synthetixio/synpress/releases). |
| 19 | + required: true |
| 20 | + |
| 21 | + - type: checkboxes |
| 22 | + attributes: |
| 23 | + label: 💡 Are you able to provide enough information to be able to reproduce your issue locally? |
| 24 | + options: |
| 25 | + - label: I can provide enough details to reproduce my issue on local environment. |
| 26 | + required: true |
| 27 | + |
| 28 | + - type: markdown |
| 29 | + attributes: |
| 30 | + value: | |
| 31 | + |
| 32 | + Thanks for taking the time to fill out this bug report! |
| 33 | +
|
| 34 | + - type: markdown |
| 35 | + attributes: |
| 36 | + value: | |
| 37 | + First, let's get some information about the environment you are using: |
| 38 | +
|
| 39 | + - type: input |
| 40 | + id: synpress-version |
| 41 | + attributes: |
| 42 | + label: Synpress version |
| 43 | + description: Which version of Synpress are you running? |
| 44 | + placeholder: 3.x.x |
| 45 | + validations: |
| 46 | + required: true |
| 47 | + |
| 48 | + - type: input |
| 49 | + id: node-version |
| 50 | + attributes: |
| 51 | + label: Node.js version |
| 52 | + description: Which version of Node.js are you using? |
| 53 | + placeholder: 18.x.x |
| 54 | + validations: |
| 55 | + required: true |
| 56 | + |
| 57 | + - type: input |
| 58 | + id: os |
| 59 | + attributes: |
| 60 | + label: Operating system |
| 61 | + description: Which OS are you using? |
| 62 | + placeholder: macOS Ventura 13.x.x |
| 63 | + validations: |
| 64 | + required: true |
| 65 | + |
| 66 | + - type: dropdown |
| 67 | + id: run-mode |
| 68 | + attributes: |
| 69 | + label: Run mode |
| 70 | + description: Which run mode are you using to run your tests? |
| 71 | + options: |
| 72 | + - Synpress (standalone) |
| 73 | + - Cypress + Synpress (as plugin) |
| 74 | + - Playwright + Synpress (as plugin) |
| 75 | + validations: |
| 76 | + required: true |
| 77 | + |
| 78 | + - type: input |
| 79 | + id: ci |
| 80 | + attributes: |
| 81 | + label: CI platform (if applicable) |
| 82 | + description: Which CI platform are you using? |
| 83 | + placeholder: CircleCI |
| 84 | + |
| 85 | + - type: checkboxes |
| 86 | + attributes: |
| 87 | + label: Are you running your tests inside docker? (if applicable) |
| 88 | + options: |
| 89 | + - label: This issue could be related to docker. |
| 90 | + |
| 91 | + - type: textarea |
| 92 | + id: what-happened |
| 93 | + attributes: |
| 94 | + label: What happened? |
| 95 | + description: | |
| 96 | + Describe clearly and concisely the bug including instructions showing how to reproduce it. |
| 97 | + placeholder: | |
| 98 | + Please add as many details as possible to avoid assumptions from our side. How do you |
| 99 | + trigger this bug? Please walk us through it step by step. |
| 100 | + validations: |
| 101 | + required: true |
| 102 | + |
| 103 | + - type: textarea |
| 104 | + id: what-is-expected |
| 105 | + attributes: |
| 106 | + label: What is your expected behavior? |
| 107 | + description: | |
| 108 | + What did you expect to happen instead? |
| 109 | + validations: |
| 110 | + required: false |
| 111 | + |
| 112 | + - type: textarea |
| 113 | + id: reproducible-example |
| 114 | + attributes: |
| 115 | + label: How to reproduce the bug. |
| 116 | + description: | |
| 117 | + It is essential for us to be able to reproduce the bug on our own machines. |
| 118 | + Please either create a [minimal reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) in a [new repository](https://github.com/new), a [gist](https://gist.github.com/) or copy and paste all necessary files in here. |
| 119 | +
|
| 120 | + > **What happens if you skip this step?** Someone will read your bug report, and maybe will be able to help you, but it’s unlikely that it will get much attention from the team. Eventually, the issue will likely get closed in favor of issues that have reproducible demos. |
| 121 | +
|
| 122 | + Please remember that: |
| 123 | +
|
| 124 | + - Issues without reproducible demos have a very low priority. |
| 125 | + - The person fixing the bug would have to do that anyway. Please be respectful of their time. |
| 126 | + - You might figure out the issues yourself as you work on extracting it. |
| 127 | +
|
| 128 | + Thanks for helping us help you! |
| 129 | + placeholder: | |
| 130 | + To reproduce the bug, create a file with the following code: |
| 131 | + ```js |
| 132 | + ... |
| 133 | + ``` |
| 134 | + Then run: |
| 135 | + ```sh |
| 136 | + $ node reproducibleExample.js |
| 137 | + ```` |
| 138 | + validations: |
| 139 | + required: true |
| 140 | + |
| 141 | + - type: textarea |
| 142 | + id: logs |
| 143 | + attributes: |
| 144 | + label: Relevant log output |
| 145 | + description: | |
| 146 | + Please copy and paste any relevant log output. |
| 147 | + Setting `DEBUG=synpress:*` env flag before running your tests will provide more descriptive logs. |
| 148 | + render: typescript |
| 149 | + validations: |
| 150 | + required: false |
0 commit comments