fix(build.sh): update image tag handling to prompt interactively if omitted
- Modified the build script to allow the image tag to be optional, prompting the user for input if not provided. - Updated usage instructions to reflect the new behavior.
This commit is contained in:
@@ -64,14 +64,18 @@ Cypress.Commands.add("setAuthCookies", (userOverrides = {}) => {
|
||||
);
|
||||
});
|
||||
|
||||
Cypress.Commands.add("mockAdminsList", (options = {}) => {
|
||||
Cypress.Commands.add("mockAdminsList", (options: Cypress.AdminListMockOptions = {}) => {
|
||||
const users = options.users ?? [createAdminUser()];
|
||||
const offset = options.offset ?? 0;
|
||||
const limit = options.limit ?? 10;
|
||||
const total = options.total ?? users.length;
|
||||
const statusCode = options.statusCode ?? 200;
|
||||
const delay = options.delay ?? 0;
|
||||
const query = options.query;
|
||||
const query = options.query
|
||||
? Object.fromEntries(
|
||||
Object.entries(options.query).map(([key, value]) => [key, String(value)]),
|
||||
)
|
||||
: undefined;
|
||||
|
||||
cy.intercept(
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user