Skip to content

Commit 1e5465f

Browse files
committed
debug firefox ci
Signed-off-by: Andrei Gherghescu <[email protected]>
1 parent 863480e commit 1e5465f

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -131,8 +131,8 @@ jobs:
131131
if: matrix.os == 'ubuntu-latest' && matrix.browser == 'chrome'
132132
run: cargo test --verbose --workspace --features ${{ matrix.features }} --exclude plotly_kaleido
133133

134-
# Run save_surface_to_png test with nocapture for detailed webdriver logs
135-
- name: Run save_surface_to_png test with nocapture (${{ matrix.os }} - Firefox)
134+
# Run save_png test with nocapture for detailed webdriver logs
135+
- name: Run save_png test with nocapture (${{ matrix.os }} - Firefox)
136136
if: matrix.os == 'ubuntu-latest' && matrix.browser == 'firefox'
137137
run: |
138138
# Set environment variables for Firefox WebDriver
@@ -145,7 +145,7 @@ jobs:
145145
echo "RUST_LOG: $RUST_LOG"
146146
147147
# Run only the save_surface_to_png test with nocapture for full webdriver logs
148-
cargo test save_surface_to_png --verbose --features ${{ matrix.features }} -- --nocapture
148+
cargo test save_png -p plotly_static --features webdriver_download,geckodriver -- --nocapture
149149
150150
# Run tests on Ubuntu with Firefox
151151
- name: Run tests (${{ matrix.os }} - Firefox)

plotly/src/plot.rs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1177,7 +1177,7 @@ mod tests {
11771177
.webdriver_port(get_unique_port())
11781178
.build()
11791179
.unwrap();
1180-
1180+
11811181
assert!(!plot
11821182
.to_base64_with_exporter(&mut exporter, ImageFormat::PNG, 1024, 680, 1.0)
11831183
.unwrap()
@@ -1192,6 +1192,5 @@ mod tests {
11921192
assert!(file_size > 0,);
11931193
// assert!(std::fs::remove_file(&dst).is_ok());
11941194
// assert!(!dst.exists());
1195-
11961195
}
11971196
}

0 commit comments

Comments
 (0)