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
package main | |
import ( | |
"log" | |
"net/http" | |
) | |
func main() { | |
//root path handles EVERY request received | |
http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) { |
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
Remove Git cache: | |
`git rm -r -f --cached .` | |
Rebase with: | |
`git rebase -i develop` | |
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
// | |
// **** Kitchen Sink Tests **** | |
// | |
// This app was developed to demonstrate | |
// how to write tests in Cypress utilizing | |
// all of the available commands | |
// | |
// Feel free to modify this spec in your | |
// own application as a jumping off point |
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; |
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
package de.base.utils.AllOthersUtils | |
import java.text.DateFormat | |
import java.text.SimpleDateFormat | |
/** | |
* For testing purpose we need to manipulate with DATE and TIME | |
* This class provide all necessary FORMAT of required date and time | |
*/ |
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
package de.base.utils.SQL_connection | |
import com.jcraft.jsch.JSch | |
import com.jcraft.jsch.JSchException | |
import com.jcraft.jsch.Session | |
import com.jcraft.jsch.SftpException | |
import de.base.utils.AllOthersUtils.EnvProperties | |
import org.testng.annotations.Test | |
import ru.yandex.qatools.allure.annotations.Step |
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
package de.base.utils.GmailReader | |
import ru.yandex.qatools.allure.annotations.Step | |
import javax.mail.* | |
import static com.codeborne.selenide.Selenide.sleep | |
import static de.base.utils.GmailReader.ConnectToEmailByImap.gmailProperties | |
/** |
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
package de.base.utils.GmailReader | |
import ru.yandex.qatools.allure.annotations.Step | |
/** | |
* Connect to Email By Imap | |
* | |
*/ | |
class ConnectToEmailByImap { |
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
brew update | |
brew cask install java | |
brew cask install jce-unlimited-strength-policy | |
export JAVA_HOME=`/usr/libexec/java_home -v 1.8` |
NewerOlder