-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into wip/jtulach/Gc10211
- Loading branch information
Showing
434 changed files
with
12,326 additions
and
11,785 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,9 @@ | ||
# .git-blame-ignore-revs | ||
# Fix prettier config; run prettier | ||
0aa7d7ee4d969ec8e8f9d376e72741dca324fdf6 | ||
# Update code style to use rust fmt (#3131) | ||
c822256e6c531e56e894f9f92654654f63cfd6bc | ||
# Fix prettier config; run prettier (#6132) | ||
0aa7d7ee4d969ec8e8f9d376e72741dca324fdf6 | ||
# Change dashboard to use 2 spaces for indentation (#8798) | ||
5f1333a519235b27fc04457de1fd07b1a0128073 | ||
# Consistent Prettier options (#10648) | ||
c46262dfb5777fd17c246e1b39ec7039778a63a2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
playwright-report/ | ||
playwright/.cache/ | ||
test-results/ | ||
dist/ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/prettierrc", | ||
"plugins": ["prettier-plugin-organize-imports", "prettier-plugin-tailwindcss"], | ||
"semi": false, | ||
"tabWidth": 2, | ||
"singleQuote": true, | ||
"printWidth": 100, | ||
"trailingComma": "all", | ||
"organizeImportsSkipDestructiveCodeActions": true, | ||
"experimentalTernaries": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -621,7 +621,7 @@ export namespace settings { | |
* DO NOT assume the left side of the outer container will change. This means that it is NOT SAFE | ||
* to do anything with the returned values other than comparing them. */ | ||
export function getAssetRowLeftPx(locator: test.Locator) { | ||
return locator.evaluate(el => el.children[0]?.children[0]?.getBoundingClientRect().left ?? 0) | ||
return locator.evaluate((el) => el.children[0]?.children[0]?.getBoundingClientRect().left ?? 0) | ||
} | ||
|
||
// =================================== | ||
|
@@ -644,7 +644,7 @@ export async function expectOpacity0(locator: test.Locator) { | |
await test.test.step('Expect `opacity: 0`', async () => { | ||
await test | ||
.expect(async () => { | ||
test.expect(await locator.evaluate(el => getComputedStyle(el).opacity)).toBe('0') | ||
test.expect(await locator.evaluate((el) => getComputedStyle(el).opacity)).toBe('0') | ||
}) | ||
.toPass() | ||
}) | ||
|
@@ -655,7 +655,7 @@ export async function expectNotOpacity0(locator: test.Locator) { | |
await test.test.step('Expect not `opacity: 0`', async () => { | ||
await test | ||
.expect(async () => { | ||
test.expect(await locator.evaluate(el => getComputedStyle(el).opacity)).not.toBe('0') | ||
test.expect(await locator.evaluate((el) => getComputedStyle(el).opacity)).not.toBe('0') | ||
}) | ||
.toPass() | ||
}) | ||
|
@@ -667,13 +667,13 @@ export async function expectOnScreen(locator: test.Locator) { | |
await test | ||
.expect(async () => { | ||
const pageBounds = await locator.evaluate(() => document.body.getBoundingClientRect()) | ||
const bounds = await locator.evaluate(el => el.getBoundingClientRect()) | ||
const bounds = await locator.evaluate((el) => el.getBoundingClientRect()) | ||
test | ||
.expect( | ||
bounds.left < pageBounds.right && | ||
bounds.right > pageBounds.left && | ||
bounds.top < pageBounds.bottom && | ||
bounds.bottom > pageBounds.top | ||
bounds.bottom > pageBounds.top, | ||
) | ||
.toBe(true) | ||
}) | ||
|
@@ -687,13 +687,13 @@ export async function expectNotOnScreen(locator: test.Locator) { | |
await test | ||
.expect(async () => { | ||
const pageBounds = await locator.evaluate(() => document.body.getBoundingClientRect()) | ||
const bounds = await locator.evaluate(el => el.getBoundingClientRect()) | ||
const bounds = await locator.evaluate((el) => el.getBoundingClientRect()) | ||
test | ||
.expect( | ||
bounds.left >= pageBounds.right || | ||
bounds.right <= pageBounds.left || | ||
bounds.top >= pageBounds.bottom || | ||
bounds.bottom <= pageBounds.top | ||
bounds.bottom <= pageBounds.top, | ||
) | ||
.toBe(true) | ||
}) | ||
|
@@ -773,7 +773,7 @@ export async function login( | |
{ page, setupAPI }: MockParams, | ||
email = '[email protected]', | ||
password = VALID_PASSWORD, | ||
first = true | ||
first = true, | ||
) { | ||
await test.test.step('Login', async () => { | ||
await page.goto('/') | ||
|
@@ -812,7 +812,7 @@ export async function reload({ page }: MockParams) { | |
export async function relog( | ||
{ page, setupAPI }: MockParams, | ||
email = '[email protected]', | ||
password = VALID_PASSWORD | ||
password = VALID_PASSWORD, | ||
) { | ||
await test.test.step('Relog', async () => { | ||
await page.getByAltText('User Settings').locator('visible=true').click() | ||
|
@@ -901,7 +901,7 @@ export function mockAllAndLogin({ page, setupAPI }: MockParams) { | |
await mockApi({ page, setupAPI }) | ||
await mockDate({ page, setupAPI }) | ||
}) | ||
.do(thePage => login({ page: thePage, setupAPI })) | ||
.do((thePage) => login({ page: thePage, setupAPI })) | ||
} | ||
|
||
// =================================== | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.