Bump eslint-plugin-mocha from 10.2.0 to 10.3.0 in /js

Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases)
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/main/CHANGELOG.md)
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/10.2.0...10.3.0)

---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
This commit is contained in:
dependabot[bot] 2024-02-19 01:09:22 +00:00 committed by Hynek Mlnařík
parent 568b6e0ad7
commit 23db74e639
11 changed files with 18 additions and 5 deletions

View file

@ -12,6 +12,7 @@ describe("Policies", () => {
describe("OTP policies tab", () => { describe("OTP policies tab", () => {
const otpPoliciesPage = new OTPPolicies(); const otpPoliciesPage = new OTPPolicies();
beforeEach(() => { beforeEach(() => {
loginPage.logIn(); loginPage.logIn();
keycloakBefore(); keycloakBefore();
@ -33,6 +34,7 @@ describe("Policies", () => {
describe("Webauthn policies tabs", () => { describe("Webauthn policies tabs", () => {
const webauthnPage = new WebAuthnPolicies(); const webauthnPage = new WebAuthnPolicies();
beforeEach(() => { beforeEach(() => {
loginPage.logIn(); loginPage.logIn();
keycloakBefore(); keycloakBefore();

View file

@ -15,6 +15,7 @@ describe("Authentication - Policies - CIBA", () => {
const realmName = uuid(); const realmName = uuid();
before(() => adminClient.createRealm(realmName)); before(() => adminClient.createRealm(realmName));
after(() => adminClient.deleteRealm(realmName)); after(() => adminClient.deleteRealm(realmName));
beforeEach(() => { beforeEach(() => {

View file

@ -168,6 +168,7 @@ describe("Authentication test", () => {
}); });
const flowName = "Empty Flow"; const flowName = "Empty Flow";
it("should create flow from scratch", () => { it("should create flow from scratch", () => {
listingPage.goToCreateItem(); listingPage.goToCreateItem();
detailPage.fillCreateForm( detailPage.fillCreateForm(
@ -288,6 +289,7 @@ describe("Accessibility tests for authentication", () => {
const detailPage = new FlowDetails(); const detailPage = new FlowDetails();
before(() => adminClient.createRealm(realmName)); before(() => adminClient.createRealm(realmName));
after(() => adminClient.deleteRealm(realmName)); after(() => adminClient.deleteRealm(realmName));
beforeEach(() => { beforeEach(() => {

View file

@ -517,6 +517,7 @@ describe("Clients test", () => {
}); });
const identicalClientId = "identical"; const identicalClientId = "identical";
it("Should fail to create client with same ID", () => { it("Should fail to create client with same ID", () => {
commonPage.sidebar().goToClients(); commonPage.sidebar().goToClients();
commonPage.tableToolbarUtils().createClient(); commonPage.tableToolbarUtils().createClient();
@ -1000,6 +1001,7 @@ describe("Clients test", () => {
describe("Mapping tab", () => { describe("Mapping tab", () => {
const mappingClient = "mapping-client"; const mappingClient = "mapping-client";
beforeEach(() => { beforeEach(() => {
loginPage.logIn(); loginPage.logIn();
keycloakBefore(); keycloakBefore();

View file

@ -272,6 +272,7 @@ describe.skip("Events tests", () => {
const realmName = uuid(); const realmName = uuid();
before(() => adminClient.createRealm(realmName)); before(() => adminClient.createRealm(realmName));
after(() => adminClient.deleteRealm(realmName)); after(() => adminClient.deleteRealm(realmName));
beforeEach(() => { beforeEach(() => {

View file

@ -454,6 +454,7 @@ describe("Group test", () => {
describe("Role mappings", () => { describe("Role mappings", () => {
const roleMappingTab = new RoleMappingTab("group"); const roleMappingTab = new RoleMappingTab("group");
beforeEach(() => { beforeEach(() => {
groupPage.goToGroupChildGroupsTab(predefinedGroups[0]); groupPage.goToGroupChildGroupsTab(predefinedGroups[0]);
groupDetailPage.goToRoleMappingTab(); groupDetailPage.goToRoleMappingTab();

View file

@ -9,6 +9,7 @@ describe("Partial realm export", () => {
const REALM_NAME = "Partial-export-test-realm"; const REALM_NAME = "Partial-export-test-realm";
before(() => adminClient.createRealm(REALM_NAME)); before(() => adminClient.createRealm(REALM_NAME));
after(() => adminClient.deleteRealm(REALM_NAME)); after(() => adminClient.deleteRealm(REALM_NAME));
const loginPage = new LoginPage(); const loginPage = new LoginPage();

View file

@ -262,6 +262,7 @@ describe("Realm roles test", () => {
}); });
const keyValue = new KeyValueInput("attributes"); const keyValue = new KeyValueInput("attributes");
it("should add attribute", () => { it("should add attribute", () => {
listingPage.itemExist(editRoleName).goToItemDetails(editRoleName); listingPage.itemExist(editRoleName).goToItemDetails(editRoleName);

View file

@ -138,6 +138,7 @@ describe("Realm settings tabs tests", () => {
realmSettingsPage.saveSecurityDefensesHeaders(); realmSettingsPage.saveSecurityDefensesHeaders();
masthead.checkNotificationMessage("Realm successfully updated"); masthead.checkNotificationMessage("Realm successfully updated");
}); });
it("Realm header settings- update all inputs", () => { it("Realm header settings- update all inputs", () => {
sidebarPage.goToRealmSettings(); sidebarPage.goToRealmSettings();
realmSettingsPage.goToSecurityDefensesTab(); realmSettingsPage.goToSecurityDefensesTab();
@ -152,6 +153,7 @@ describe("Realm settings tabs tests", () => {
realmSettingsPage.saveSecurityDefensesHeaders(); realmSettingsPage.saveSecurityDefensesHeaders();
masthead.checkNotificationMessage("Realm successfully updated"); masthead.checkNotificationMessage("Realm successfully updated");
}); });
it("Brute force detection- update values", () => { it("Brute force detection- update values", () => {
sidebarPage.goToRealmSettings(); sidebarPage.goToRealmSettings();
realmSettingsPage.goToSecurityDefensesTab(); realmSettingsPage.goToSecurityDefensesTab();

View file

@ -14,7 +14,7 @@
"eslint-plugin-cypress": "^2.15.1", "eslint-plugin-cypress": "^2.15.1",
"eslint-plugin-import": "^2.29.1", "eslint-plugin-import": "^2.29.1",
"eslint-plugin-lodash": "^7.4.0", "eslint-plugin-lodash": "^7.4.0",
"eslint-plugin-mocha": "^10.2.0", "eslint-plugin-mocha": "^10.3.0",
"eslint-plugin-prettier": "^5.1.3", "eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2", "eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0", "eslint-plugin-react-hooks": "^4.6.0",

View file

@ -36,8 +36,8 @@ importers:
specifier: ^7.4.0 specifier: ^7.4.0
version: 7.4.0(eslint@8.56.0) version: 7.4.0(eslint@8.56.0)
eslint-plugin-mocha: eslint-plugin-mocha:
specifier: ^10.2.0 specifier: ^10.3.0
version: 10.2.0(eslint@8.56.0) version: 10.3.0(eslint@8.56.0)
eslint-plugin-prettier: eslint-plugin-prettier:
specifier: ^5.1.3 specifier: ^5.1.3
version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.5) version: 5.1.3(eslint-config-prettier@9.1.0)(eslint@8.56.0)(prettier@3.2.5)
@ -3876,8 +3876,8 @@ packages:
lodash: 4.17.21 lodash: 4.17.21
dev: true dev: true
/eslint-plugin-mocha@10.2.0(eslint@8.56.0): /eslint-plugin-mocha@10.3.0(eslint@8.56.0):
resolution: {integrity: sha512-ZhdxzSZnd1P9LqDPF0DBcFLpRIGdh1zkF2JHnQklKQOvrQtT73kdP5K9V2mzvbLR+cCAO9OI48NXK/Ax9/ciCQ==} resolution: {integrity: sha512-IWzbg2K6B1Q7h37Ih4zMyW+nhmw1JvUlHlbCUUUu6PfOOAUGCB0gxmvv7/U+TQQ6e8yHUv+q7KMdIIum4bx+PA==}
engines: {node: '>=14.0.0'} engines: {node: '>=14.0.0'}
peerDependencies: peerDependencies:
eslint: '>=7.0.0' eslint: '>=7.0.0'