Revert "Upgrade linter and formatter to Ultracite" (#1226)
This commit is contained in:
parent
0e320b391d
commit
1aff7d9868
177 changed files with 8334 additions and 6943 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import { expect, test } from "../fixtures";
|
||||
import { ArtifactPage } from "../pages/artifact";
|
||||
import { ChatPage } from "../pages/chat";
|
||||
import { expect, test } from '../fixtures';
|
||||
import { ChatPage } from '../pages/chat';
|
||||
import { ArtifactPage } from '../pages/artifact';
|
||||
|
||||
test.describe("Artifacts activity", () => {
|
||||
test.describe('Artifacts activity', () => {
|
||||
let chatPage: ChatPage;
|
||||
let artifactPage: ArtifactPage;
|
||||
|
||||
|
|
@ -13,12 +13,12 @@ test.describe("Artifacts activity", () => {
|
|||
await chatPage.createNewChat();
|
||||
});
|
||||
|
||||
test("Create a text artifact", async () => {
|
||||
test('Create a text artifact', async () => {
|
||||
test.fixme();
|
||||
await chatPage.createNewChat();
|
||||
|
||||
await chatPage.sendUserMessage(
|
||||
"Help me write an essay about Silicon Valley"
|
||||
'Help me write an essay about Silicon Valley',
|
||||
);
|
||||
await artifactPage.isGenerationComplete();
|
||||
|
||||
|
|
@ -26,18 +26,18 @@ test.describe("Artifacts activity", () => {
|
|||
|
||||
const assistantMessage = await chatPage.getRecentAssistantMessage();
|
||||
expect(assistantMessage.content).toBe(
|
||||
"A document was created and is now visible to the user."
|
||||
'A document was created and is now visible to the user.',
|
||||
);
|
||||
|
||||
await chatPage.hasChatIdInUrl();
|
||||
});
|
||||
|
||||
test("Toggle artifact visibility", async () => {
|
||||
test('Toggle artifact visibility', async () => {
|
||||
test.fixme();
|
||||
await chatPage.createNewChat();
|
||||
|
||||
await chatPage.sendUserMessage(
|
||||
"Help me write an essay about Silicon Valley"
|
||||
'Help me write an essay about Silicon Valley',
|
||||
);
|
||||
await artifactPage.isGenerationComplete();
|
||||
|
||||
|
|
@ -45,19 +45,19 @@ test.describe("Artifacts activity", () => {
|
|||
|
||||
const assistantMessage = await chatPage.getRecentAssistantMessage();
|
||||
expect(assistantMessage.content).toBe(
|
||||
"A document was created and is now visible to the user."
|
||||
'A document was created and is now visible to the user.',
|
||||
);
|
||||
|
||||
await artifactPage.closeArtifact();
|
||||
await chatPage.isElementNotVisible("artifact");
|
||||
await chatPage.isElementNotVisible('artifact');
|
||||
});
|
||||
|
||||
test("Send follow up message after generation", async () => {
|
||||
test('Send follow up message after generation', async () => {
|
||||
test.fixme();
|
||||
await chatPage.createNewChat();
|
||||
|
||||
await chatPage.sendUserMessage(
|
||||
"Help me write an essay about Silicon Valley"
|
||||
'Help me write an essay about Silicon Valley',
|
||||
);
|
||||
await artifactPage.isGenerationComplete();
|
||||
|
||||
|
|
@ -65,10 +65,10 @@ test.describe("Artifacts activity", () => {
|
|||
|
||||
const assistantMessage = await artifactPage.getRecentAssistantMessage();
|
||||
expect(assistantMessage.content).toBe(
|
||||
"A document was created and is now visible to the user."
|
||||
'A document was created and is now visible to the user.',
|
||||
);
|
||||
|
||||
await artifactPage.sendUserMessage("Thanks!");
|
||||
await artifactPage.sendUserMessage('Thanks!');
|
||||
await artifactPage.isGenerationComplete();
|
||||
|
||||
const secondAssistantMessage = await chatPage.getRecentAssistantMessage();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue