Skip to content

Commit

Permalink
update to python 3.12.3
Browse files Browse the repository at this point in the history
  • Loading branch information
thecodingwizard committed Jul 16, 2024
1 parent 49df283 commit 86db8f6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions e2e/helpers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export const testRunCode = async (

export const switchLang = async (
page: Page,
lang: 'Java' | 'Python 3.8.1' | 'C++'
lang: 'Java' | 'Python 3.12.3' | 'C++'
) => {
await page.getByRole('button', { name: 'File' }).click();
await page.getByRole('menuitem', { name: 'Settings' }).click();
Expand All @@ -58,7 +58,7 @@ export const forEachLang = async (
await switchLang(page, 'Java');
await func();

await switchLang(page, 'Python 3.8.1');
await switchLang(page, 'Python 3.12.3');
await func();

await switchLang(page, 'C++');
Expand Down
2 changes: 1 addition & 1 deletion e2e/respects_permissions.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ test.describe('Respects Permissions', () => {
expect(await page.$('text="// this is a comment"')).toBeTruthy();
await page2.waitForSelector('text="// this is a comment"');

await switchLang(page, 'Python 3.8.1');
await switchLang(page, 'Python 3.12.3');
await page.waitForSelector('button:has-text("Run Code")');
await page2.waitForSelector('button:has-text("Run Code")');
await page2.click(`${editorClass} div:nth-child(5)`);
Expand Down
2 changes: 1 addition & 1 deletion src/context/UserContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ export const LANGUAGES: { label: string; value: Language }[] = [
value: 'java',
},
{
label: 'Python 3.8.1',
label: 'Python 3.12.3',
value: 'py',
},
];
Expand Down

0 comments on commit 86db8f6

Please sign in to comment.