Skip to content

Commit 9527b2b

Browse files
authored
Build docs on latest micromamba (#199)
* Build docs on micromamba 2.0.7 troubleshoot * Apply suggestion from @martinRenou * Skip some tests if crossoriginisolated
1 parent 011c149 commit 9527b2b

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

docs/build-environment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ channels:
55
- conda-forge/label/jupyterlite_core_alpha
66

77
dependencies:
8-
- micromamba=2.0.5
8+
- micromamba
99
- pip
1010
- nodejs=20
1111
- click

ui-tests/tests/jupyterlite_xeus.spec.ts

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,12 @@ test.describe('General Tests', () => {
193193
expect(output![0]).toEqual('Password: ········\n');
194194
});
195195

196-
test('pip install using python kernel', async ({ page }) => {
196+
test('pip install using python kernel', async ({ page }, testInfo) => {
197+
test.skip(
198+
testInfo.project.name === 'crossoriginisolated',
199+
'Not supported in crossoriginisolated project'
200+
);
201+
197202
await page.goto('lab/index.html');
198203

199204
// Create a Python notebook
@@ -220,7 +225,12 @@ test.describe('General Tests', () => {
220225
expect(output![0]).not.toContain('ModuleNotFoundError');
221226
});
222227

223-
test('conda install using python kernel', async ({ page }) => {
228+
test('conda install using python kernel', async ({ page }, testInfo) => {
229+
test.skip(
230+
testInfo.project.name === 'crossoriginisolated',
231+
'Not supported in crossoriginisolated project'
232+
);
233+
224234
await page.goto('lab/index.html');
225235

226236
// Create a Python notebook

0 commit comments

Comments
 (0)