Skip to content

Commit

Permalink
Iterate
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Telatynski <[email protected]>
  • Loading branch information
t3chguy committed Jan 13, 2025
1 parent 0e7c40c commit cae93fa
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion playwright/e2e/csAPI.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { APIRequestContext } from "playwright-core";
import { KeyBackupInfo } from "matrix-js-sdk/src/crypto-api";

import { HomeserverInstance } from "../plugins/homeserver";
import { ClientServerApi } from "../testcontainers/utils.ts";
import { ClientServerApi } from "../plugins/utils/api.ts";

/**
* A small subset of the Client-Server API used to manipulate the state of the
Expand Down
2 changes: 1 addition & 1 deletion playwright/plugins/homeserver/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Com
Please see LICENSE files in the repository root for full details.
*/

import { ClientServerApi } from "../../testcontainers/utils.ts";
import { ClientServerApi } from "../utils/api.ts";

export interface HomeserverInstance {
readonly baseUrl: string;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
/*
Copyright 2024 New Vector Ltd.
Copyright 2025 New Vector Ltd.
SPDX-License-Identifier: AGPL-3.0-only OR GPL-3.0-only OR LicenseRef-Element-Commercial
Please see LICENSE files in the repository root for full details.
*/

import { APIRequestContext } from "@playwright/test";

import { Credentials } from "../plugins/homeserver";
import { Credentials } from "../homeserver";

export type Verb = "GET" | "POST" | "PUT" | "DELETE";

Expand Down
2 changes: 1 addition & 1 deletion playwright/testcontainers/synapse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { Credentials } from "../plugins/homeserver";
import { deepCopy } from "../plugins/utils/object.ts";
import { HomeserverContainer, StartedHomeserverContainer } from "./HomeserverContainer.ts";
import { StartedMatrixAuthenticationServiceContainer } from "./mas.ts";
import { Api, ClientServerApi, Verb } from "./utils.ts";
import { Api, ClientServerApi, Verb } from "../plugins/utils/api.ts";

const TAG = "develop@sha256:b69222d98abe9625d46f5d3cb01683d5dc173ae339215297138392cfeec935d9";

Expand Down

0 comments on commit cae93fa

Please sign in to comment.