дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 17:47:08 +02:00
test(e2e): expect editable artifacts in a project without a build tool (#6857)
#6834 made Project Structure › Artifacts editable when the project has no Maven or Gradle build; the settings spec still expected a disabled JAR button. It now checks the button is enabled and the Maven/Gradle note is absent.
Цей коміт міститься в:
1 джерело
28b879c668
коміт
8e9c02cae6
1 file changed
+3
-1
@@ -110,7 +110,9 @@ test("Project Structure keeps edits across repeated shortcuts and applies them",
|
||||
await dialog.getByRole("button", { name: "Dependencies", exact: true }).click();
|
||||
await expect(dialog.getByRole("group", { name: "The project depends on these projects" })).toBeVisible();
|
||||
await dialog.getByRole("button", { name: "Artifacts", exact: true }).click();
|
||||
await expect(dialog.getByRole("button", { name: "JAR", exact: true })).toBeDisabled();
|
||||
// Without Maven or Gradle the IDE builds the artifacts itself, so they are editable.
|
||||
await expect(dialog.getByRole("button", { name: "JAR", exact: true })).toBeEnabled();
|
||||
await expect(dialog.getByText(/This project is built by Maven or Gradle/)).toHaveCount(0);
|
||||
await page.keyboard.press("Escape");
|
||||
await expect(dialog).toBeHidden();
|
||||
});
|
||||
|
||||
Reference in new issue
Заблокувати користувача