Questions tagged [browser-testing]

89 questions
0
votes
0 answers

Testcafe takes about 2 minutes everytime to trigger the browser. What could be the fix here?

I have node 12.14.0, npm 6.13.4 and testcafe 1.7.1 in my Windows 10 PC. I am trying to run a basic sample script using the command testcafe chrome test1.js: import { Selector } from 'testcafe'; fixture `Getting Started` .page…
Janaaaa
  • 1,346
  • 1
  • 16
  • 34
0
votes
2 answers

Unable to run Laravel Browser Test with Dusk

I am setting up Browser Test with Laravel 5.7. Install Laravel Dusk. My very beginning php artisan dusk command return errors My Chrome is version 76. Initially, I see "Chrome version must be between 70 and 73". So I download Chrome Driver for my…
Cheng Shi
  • 160
  • 3
  • 7
0
votes
1 answer

Fitnesse & XPath - Count() does not return an integer, returns the list instead

When using Fitnesse, Slim and the Browser Testing framework I was given the challenge to count the amount of items within an ordered list (simplified): 1 2 3 I found that one of the counting methods: |check…
eymas
  • 105
  • 2
  • 15
0
votes
1 answer

How to fix dusk $browser->select() with String value

I have a filter and one option is to choose a device-type. There is a list of possible options and you can only use one of the options (so no plain text) The filter-field is named typ_id and can be accessed with $browser->select('type_id') The…
0
votes
0 answers

What is the difference between ->assertSee and ->See

Simple question, can't find anything satisfying on Google. What is the difference between ->assertSee and ->See? Which should I use to check content from a page?
0
votes
1 answer

Call a PHP Method from another class

This has definitely been answered more then once. But I don't get it for my case. So I am writing browser-test for a part of our projekt. The function is, that there are users, that can login and other that are not allowed. So I wrote a 2 tests.…
0
votes
0 answers

How to wait for alert to close using selenium web driver to enter password in main window using javascript

I'm trying to write a script that will navigate a page on the browser. One of the first things I need to do is close an alert that appears. Once the alert is close I need to enter a user name and password and press an OK button. I believe that I…
0
votes
1 answer

Laravel Test seeJsonContains

I got this result after running Unit Test. Result: 1) Tests\Functional\Controllers\Api\UsersControllerTest::testUsersIndex Unable to find JSON fragment [[{"email":"FRoAff4@mail.com","id":"706"}]] within [{"data":[],"draw":0,"error":"Not…
Davron Achilov
  • 536
  • 4
  • 14
0
votes
3 answers

Laravel dusk, incorrect testing result

I just discovered Laravel Dusk, and wrote first test, which had to check for text on the page, but Laravel Dusk doesn`t see my page. Test: namespace Tests\Browser; use Tests\DuskTestCase; use Laravel\Dusk\Browser; use…
vladimirch
  • 131
  • 10
0
votes
3 answers

Testing vuetify v-select with laravel dusk

Does anyone know how to test vuetify v-select with laravel dusk? I've tried $browser->select('size', 'Large'); without success this is one of the v-selects that i want to test
0
votes
2 answers

WebdriverIO config file for multiple browsers

I need to run test cases on multiple browsers, while using webdriverIO. Despite going through several articles and documentation of WDIO, I couldn't find a way in which works. this is my wdio.conf.js. exports.config = { baseUrl:…
0
votes
1 answer

Cross Browser Testing with Microsoft Supplied VHD Files

I am using the microsoft supplied vhd files to test ie6. However, in the VM, browsing to localhost does not hit the webserver running on localhost of the host machine (Windows 7). Is there an easy way to hit the webserver on the host machine in the…
Joda Maki
  • 5,649
  • 6
  • 27
  • 36
0
votes
1 answer

puppeteer : console.log in evaluate triggers error "Unhandled promise rejection"

In puppeteer , when i want to use console.log from evaluate , it triggers me an error const puppeteer = require('puppeteer'); (async () => { const browser = await puppeteer.launch({headless: false}); const page = await browser.newPage(); …
Pipo
  • 5,170
  • 7
  • 33
  • 66
0
votes
1 answer

Having trouble with using laravel dusk

I am a newbie Laravel Dusk. I am trying to write a scenario that click a link a[href] then assertSee something. i have been spending whole day but just cant.
  • daniel8x
    • 990
    • 4
    • 16
    • 34
  • 0
    votes
    2 answers

    How can I test a mobile website for an Android device, if I'm using a mac?

    I'm creating a website and I've been testing in different browsers, but not android devices, because I don't normally have access. Someone looked at the site on an Android phone (using the default web browser and chrome) and one of the pages is not…
    smoketron
    • 1
    • 2