- Install Git for Windows
- Install all the required tools and configurations using Microsoft's windows-build-tools using
npm install --global --production windows-build-tools
from an elevated PowerShell or CMD.exe (run as Administrator).
This file contains 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
function generateAuthenticationString(password, salt, challenge) { | |
const step1 = password + salt; | |
const step2 = sha256(step1); // SHA256 binary hash | |
const base64Secret = Buffer.from(step2, 'hex').toString('base64'); | |
const step3 = base64Secret + challenge; | |
const step4 = sha256(step3); // SHA256 binary hash | |
const authenticationString = Buffer.from(step4, 'hex').toString('base64'); |
This file contains 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
> Task :statics:compileTestJava FAILED | |
An exception has occurred in the compiler (17.0.3.1). Please file a bug against the Java compiler via the Java bug reporting page (http://bugreport.java.com) after checking the Bug Database (http://bugs.java.com) for duplicates. Include your program, the following diagnostic, and the parameters passed to the Java compiler in your report. Thank you. | |
java.util.ServiceConfigurationError: com.sun.source.util.Plugin: Provider com.github.bsideup.jabel.JabelCompilerPlugin could not be instantiated | |
at java.base/java.util.ServiceLoader.fail(ServiceLoader.java:586) | |
at java.base/java.util.ServiceLoader$ProviderImpl.newInstance(ServiceLoader.java:813) | |
at java.base/java.util.ServiceLoader$ProviderImpl.get(ServiceLoader.java:729) | |
at java.base/java.util.ServiceLoader$3.next(ServiceLoader.java:1403) | |
at jdk.compiler/com.sun.tools.javac.api.BasicJavacTask.initPlugins(BasicJavacTask.java:220) | |
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.prepareCompiler(JavacTaskImpl.java:204 |
This file contains 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
@Test | |
fun shouldPassOnNoInternetScanTest() = | |
beforeTest { | |
activityTestRule.launchActivity(null) | |
// some things with the state | |
}.afterTest { | |
// some things with the state | |
}.run { | |
step("Open Simple Screen") { | |
MainScreen { |
This file contains 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
const mySecretAwareObject = { | |
login: "foo", | |
password: "haha" | |
} | |
Object.defineProperty(mySecretAwareObject, "password", { | |
enumerable: false, | |
value: 'supersecretpassword' | |
}) |
This file contains 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 android.view.View | |
import android.webkit.WebView | |
import android.widget.CheckedTextView | |
import android.widget.TextView | |
import androidx.test.espresso.ViewInteraction | |
import androidx.test.espresso.assertion.ViewAssertions | |
import com.agoda.kakao.common.views.KBaseView | |
import com.agoda.kakao.common.views.KView | |
import com.agoda.kakao.screen.Screen | |
import com.agoda.kakao.text.KTextView |
This file contains 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
├───allure-reporter | |
│ │ package.json | |
│ │ README.md | |
│ │ wdio-allure-reporter-5.0.0-beta.4.tgz | |
│ │ | |
│ └───build | |
│ constants.js | |
│ index.js | |
│ utils.js | |
│ |
using mocha/chai/sinon for node.js unit-tests? check out my utility: mocha-stirrer to easily reuse test components and mock require dependencies
This file contains 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
=Navigating= | |
baseUrl = "http://site.com"; | |
open("/login"); | |
open("http://google.com"); | |
switchTo().frame($("#myFrame").toWebElement()); | |
=WebDriver= | |
getWebDriver().findElement(By.id("username")); // import static com.codeborne.selenide.WebDriverRunner.getWebDriver; |