View logs.txt
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
[12:03:20]: Running tests for locale: ro | |
[12:03:20]: $ /Users/wavelinodossantos/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am instrument --no-window-animation -w \ | |
-e testLocale ro \ | |
-e endingLocale en_US \ | |
-e appendTimestamp true \ | |
-e package com.wellington.android.localization.screenshot \ | |
com.wellington.android.test/com.wellington.android.utils.TestRunner | |
[12:03:32]: ▸ com.wellington.android.localization.screenshot.LocalizationScreenShot:. | |
[12:03:32]: ▸ Time: 10.522 | |
[12:03:32]: ▸ OK (1 test) |
View customFailureHandle.kt
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.os.Environment.DIRECTORY_DOCUMENTS | |
import android.os.Environment.getExternalStoragePublicDirectory | |
import android.util.Log | |
import android.view.View | |
import androidx.test.espresso.AmbiguousViewMatcherException | |
import androidx.test.espresso.EspressoException | |
import androidx.test.espresso.FailureHandler | |
import androidx.test.espresso.InjectEventSecurityException | |
import androidx.test.espresso.PerformException | |
import androidx.test.espresso.core.internal.deps.guava.base.Throwables.throwIfUnchecked |
View gnib_check
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
#!/bin/bash | |
BOT_TOKEN="" | |
CHAT_ID="" | |
MESSAGE="" | |
LAST_MESSAGE="" | |
COUNT=0 | |
| |
while true; do | |
slot=$(curl -ks https://burghquayregistrationoffice.inis.gov.ie/Website/AMSREG/AMSRegWeb.nsf/\(getApps4DTAvailability\)\?readform\&\&cat\=Other\&sbcat\=All\&typ\=Renewal) | |
|
View report_join.rb
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
require 'nokogiri' | |
require 'find' | |
class JunitMerge | |
FAILURES_DIR = 'artifacts/composer-output/failures/'.freeze | |
REPORT_DIRECTORY = 'artifacts/composer-output/'.freeze | |
COLLATED_REPORT = 'artifacts/composer-output/junit4-reports/collated_report.xml'.freeze | |
OUTDATED_REPORTS = 'artifacts/composer-output/junit4-reports'.freeze | |
def run |
View rerun.rb
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
require 'nokogiri' | |
def re_run_failed_tests(report_dir, retry_count = 3) | |
count = 0 | |
loop do | |
puts "Starting test execution number: #{count}" | |
failures = check_for_failures(report_dir) | |
parsed_test_failures = failures.join(",") | |
test_output = "artifacts/composer-output/failed-retry#{count}" |
View screnshots_pull.groovy
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
// Basead on https://github.com/zawadz88/ScreenshotCapturingSample/blob/master/app/build.gradle | |
def reportsDirectory = "artifacts/composer-output" | |
def embedScreenshotsTask = task('embedScreenshots', group: 'reporting') { | |
dependsOn { | |
fetchScreenshotsTask | |
} | |
doFirst { |
View gist:ab03e913bce14411cb64087f882ce91d
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
def reportsDirectory = "$buildDir/artifacts/composer-output" | |
def embedScreenshotsTask = task('embedScreenshots', group: 'reporting') { | |
dependsOn { | |
fetchScreenshotsTask | |
} | |
doFirst { | |
println new File(reportsDirectory, 'screenshots/failures') |
View it_companies.txt
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
https://newrelic.com/about/careers | |
https://www.twilio.com/company/jobs#open-positions | |
https://company.ding.com/careers/ | |
https://careers.shutterstock.com/teams/technology/ | |
http://www.top1000.ie/industries/technology | |
View rake_report.rb
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 :run_features, [:feature, :scenario] do |_task, args| | |
puts "Running #{args[:feature]} feature with #{args[:scenario]} scenarios and report" | |
sh "cucumber -t @#{args[:feature]} -t @#{args[:scenario]} -f html -o #{args[:scenario]}_scenarios.html" | |
end |
View rake_scenario.rb
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 :run_features, [:feature, :scenario] do |_task, args| | |
puts "Running #{args[:feature]} feature with #{args[:scenario]} scenarios " | |
sh "cucumber -t @#{args[:feature]} -t @#{args[:scenario]}"" | |
end |
NewerOlder