Codeceptjs with Appium , Ios only #4804
              
  
  Closed
              
          
                  
                    
                      gabrielaObogeanu95
                    
                  
                
                  started this conversation in
                General
              
            Replies: 1 comment
-
| now it is working by using this config | 
Beta Was this translation helpful? Give feedback.
                  
                    0 replies
                  
                
            
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
        
    
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I need some help with the configuration for Codeceptjs with Appium for Ios testing. I want to use emulators and my issue is that my app is not launching when I run the tests plus I get the (Error: Can't connect to WebDriver.
Error: Failed to create session.) : at Object.onceWrapper (node:events:634:26)
at ClientRequest.emit (node:events:531:35)
at ClientRequest.emit (node:domain:488:12)
at Socket.socketOnEnd (node:_http_client:524:9)
at Socket.emit (node:events:531:35)
at Socket.emit (node:domain:488:12)
at endReadableNT (node:internal/streams/readable:1696:12)
at Socket.socketOnEnd (node:_http_client:524:23)
at Socket.emit (node:events:531:35)
at Socket.emit (node:domain:488:12)
at endReadableNT (node:internal/streams/readable:1696:12)
at processTicksAndRejections (node:internal/process/task_queues:82:21)
Error: Can't connect to WebDriver.
Error: Failed to create session.
socket hang up
Please make sure Selenium Server is running and accessible
Before I start the tests I run the appium server in the terminal , open the simulator that I want to use and then triggering the tests .
This is my configuration file:
output: './output',
helpers: {
Appium: {
appiumV2: true,
platform: "iOS",
path: '/wd/hub',
capabilities: {
bundleId: "",
deviceName: "iPad (10th generation)",
platformVersion: "18.2",
automationName: 'XCUITest'
},
},
},
Do you have an example on how you do it in your project ?
Beta Was this translation helpful? Give feedback.
All reactions