Skip to content

Commit

Permalink
Bump FedericoCarboni/setup-ffmpeg from 1 to 2 (#143)
Browse files Browse the repository at this point in the history
* Bump FedericoCarboni/setup-ffmpeg from 1 to 2

Bumps [FedericoCarboni/setup-ffmpeg](https://github.com/FedericoCarboni/setup-ffmpeg) from 1 to 2.
- [Release notes](https://github.com/FedericoCarboni/setup-ffmpeg/releases)
- [Commits](federicocarboni/setup-ffmpeg@v1...v2)

---
updated-dependencies:
- dependency-name: FedericoCarboni/setup-ffmpeg
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

* add wait

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pedro Lopes <Pedro.Lopes@checkmarx.com>
  • Loading branch information
dependabot[bot] and pedrompflopes committed Oct 25, 2022
1 parent 57cbfe8 commit 5f9b912
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
distribution: zulu
java-version: 11
- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
uses: FedericoCarboni/setup-ffmpeg@v2
with:
# Not strictly necessary, but it may prevent rate limit
# errors especially on GitHub-hosted macos machines.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ui-mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
distribution: zulu
java-version: 11
- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
uses: FedericoCarboni/setup-ffmpeg@v2
with:
# Not strictly necessary, but it may prevent rate limit
# errors especially on GitHub-hosted macos machines.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ui-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
distribution: zulu
java-version: 11
- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
uses: FedericoCarboni/setup-ffmpeg@v2
with:
# Not strictly necessary, but it may prevent rate limit
# errors especially on GitHub-hosted macos machines.
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-ui-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
distribution: zulu
java-version: 11
- name: Setup FFmpeg
uses: FedericoCarboni/setup-ffmpeg@v1
uses: FedericoCarboni/setup-ffmpeg@v2
with:
# Not strictly necessary, but it may prevent rate limit
# errors especially on GitHub-hosted macos machines.
Expand Down
3 changes: 2 additions & 1 deletion src/test/java/com/checkmarx/intellij/ui/TestUI.java
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ public void testTriggerScanProjectAndBranchDontMatch() {

@Test
@Video
public void testTriggerScanAndLoadResults() {
public void testTriggerScanAndLoadResults() throws InterruptedException {
if(triggerScanNotAllowed()) return;

applySettings();
Expand All @@ -193,6 +193,7 @@ public void testTriggerScanAndLoadResults() {
Assertions.assertTrue(treeBeforeScan.getValueAtRow(0).contains(Environment.SCAN_ID));
waitFor(() -> hasAnyComponent("//div[@accessiblename.key='SCAN_FINISHED']"));
find("//div[@class='LinkLabel']").click();
wait(waitDuration.toMillis());
waitFor(() -> findScanSelection().isEnabled() && findProjectSelection().isEnabled() && findBranchSelection().isEnabled());
JTreeFixture treeAfterScan = find(JTreeFixture.class, TREE);
// Assert that new results were loaded for a new scan id
Expand Down

0 comments on commit 5f9b912

Please sign in to comment.