This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public class LogIn { | |
| public void LoginAsUser(String name, String password) { | |
| WebDriver webDriver = Driver.webDriver; | |
| webDriver.findElement(By.id("login")).sendKeys(name); | |
| webDriver.findElement(By.id("password")).sendKeys(password); | |
| webDriver.findElement(By.linkText("Log in")).click(); | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| page.on('request', interceptedRequest => { | |
| if (interceptedRequest.resourceType() === 'image') { | |
| interceptedRequest.abort() | |
| } else { | |
| interceptedRequest.continue() | |
| } | |
| }) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import fs from 'fs' | |
| const fse = require('fs-extra') | |
| const chalk = require('chalk') | |
| const log = console.log | |
| class LoggerManager { | |
| constructor(page, reportFileName) { | |
| this._page = page | |
| this._reportFileName = reportFileName | |
| this._requests = [] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* eslint-disable no-shadow */ | |
| /* eslint-disable no-await-in-loop */ | |
| import puppeteer from 'puppeteer' | |
| import LoggerManager from '../shared/log.manager' | |
| // eslint-disable-next-line max-lines-per-function | |
| describe('Check duplicated requests and console errors', () => { | |
| let browser, page, logger | |
| let testName = 'duplicatedRequests' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| DB: rule_values | |
| _FEATURES_ | |
| - Remove corpse retrieving | |
| - Remove experience loss upon death | |
| - Remove unmemorize spells upon death | |
| - Higher HP/MANA/STA regen | |
| - Soul bind anywhere | |
| - Reduce NPC running away at low HP | |
| - Higher hit chance |
OlderNewer