AppiumTestDistribution / appium-device-farm

This is an Appium 2.0 plugin designed to manage and create driver sessions on available devices.
https://devicefarm.org
Other
341 stars 104 forks source link

How to Log appProfilling option #1414

Open CharlanSofist opened 1 month ago

CharlanSofist commented 1 month ago

Describe the bug

How i show de values of memory and cpu em this dashboard?

image

Environment

Appium version (or git revision) that exhibits the issue: 2.11.3, device-farm@9.4.1 [installed (npm)] Last Appium version that did not exhibit the issue (if applicable): Node.js version (unless using Appium.app|exe): 22.8.0 Npm or Yarn package manager: 10.8.2 Mobile platform/version under test: IOS Real device or emulator/simulator: simulator Appium CLI or Appium.app|exe: N?A

CharlanSofist commented 1 month ago

@saikrishna321 can you helpme?

saikrishna321 commented 1 month ago

@CharlanSofist please the capabilities

https://devicefarm.org/capabilities/

CharlanSofist commented 1 month ago

@saikrishna321 I am set de capabilities but this dont display the profilling

UiAutomator2Options options = new UiAutomator2Options(); options.setDeviceName(deviceName) .setPlatformVersion(platformVersion) .setPlatformName(platformName) .setUdid(udid) .autoGrantPermissions() .setApp(appPathRelative) .setAutomationName("UiAutomator2"); options.setCapability("logLevel", "debug"); options.setCapability("df:liveVideo", true); options.setCapability("df:recordVideo", true); options.setCapability("df:saveDeviceLogs", true); options.setCapability("df:build", deviceName);

saikrishna321 commented 1 month ago

Can u please share full server logs

CharlanSofist commented 1 month ago

@saikrishna321 https://gist.github.com/CharlanSofist/c5014b9e81e03fcbc5331809b3afc143

CharlanSofist commented 1 month ago

By appium dashboard da values is displayed but via farm no:

appium dashboard: image

farm: image

erdncyz commented 1 month ago

Hi @CharlanSofist

Can ask another question how you change dashboard logo ? Can you explain me please ?

image

CharlanSofist commented 1 month ago

@erdncyz this was a failed test when I forked the project, forget about returning to the original code about this.

erdncyz commented 1 month ago

Hi @CharlanSofist,

Did you change this area ?

image
CharlanSofist commented 1 month ago

Hi @erdncyz Yes, I tried to add another logo next to this one but I was unsuccessful.

erdncyz commented 1 month ago

Hi @CharlanSofist So how did you do the one in the picture? image

CharlanSofist commented 1 month ago

Hi @erdncyz I changed the logo file

CharlanSofist commented 1 month ago

Hi @erdncyz Is there a forum or some other place with slack or chat where I can ask questions without going directly through github?

erdncyz commented 1 month ago

Hi @CharlanSofist,

My slack account https://appiumtestparallel.slack.com/team/U077QTBQWQZ

CharlanSofist commented 1 month ago

Hi @erdncyz This is an open workspace?

erdncyz commented 1 month ago

Hi @CharlanSofist

Yes also my slack acoount email erdinc.yilmaz@digiturk.com.tr

CharlanSofist commented 1 month ago

Hi @erdncyz About the logo, I've already returned to the normal version. I read in the license rights that you can't modify it. Now, about the problem of not showing the CPU and memory values ​​and showing them on the Appium dashboard, can you check?