Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    pietervanh
    @pietervanh
    yeah sure
    pietervanh
    @pietervanh
    hi @herflis I got a blank page when navigating to API keys https://profile.sensenet.com/api-keys
    const keys: Keys = JSON.parse(currentRepository.ClientSecrets!)
    also got a question about the cypress.json config
    identityServer: Url of the connected Identity Server (is.demo.sensenet.com), which is a separate enviroment made for testing purposes only. You should change this url to your dedicated identity server url.
    where can I find my Identity server url
    pietervanh
    @pietervanh
    looks like it
    anyway stuck cause can't see api-keys
    Aniko Litvanyi
    @herflis
    check the api-keys page now :)
    yes, your identity server url is made from the repository url so https://sn{repoUrl}-is.sensenet.cloud
    pietervanh
    @pietervanh
    SyntaxError: Unexpected token < in JSON at position 0
    at JSON.parse (<anonymous>)
    at K (table.tsx:47)
    same
    with dev tools open and full cache refresh
    pietervanh
    @pietervanh
    I see in the response for clientsecrets it's wrapped into a <p></p> tag
    so that's probably the reason
    Aniko Litvanyi
    @herflis
    yeah, we're working on the fix, it will be published in a minute :)
    pietervanh
    @pietervanh
    but I can start already :)
    Aniko Litvanyi
    @herflis
    the api keys page is now fixed, thank you @pietervanh for reporting the issue :)
    pietervanh
    @pietervanh
    yes I see
    pietervanh
    @pietervanh
    note to self set up git email address first on new machine...
    pietervanh
    @pietervanh
    sorry made a mess with that PR, I think I'll restart from scratch
    pietervanh
    @pietervanh
    hey @herflis hope the PR is good now
    if not let me know
    don't see how to link the PR to the issue in the board
    also maybe a tip to include in the https://github.com/SenseNet/sn-client/blob/master/apps/sensenet/cypress/CONTRIBUTING.md that you add the cypress.json config to your .gitignore file otherwise repository details are being leaked
    anyway if PR is good, I'll do some more...
    Paweł Burniak
    @mitcom
    Hi, I wanted to implement some E2E test but I am struggling with the installation of the project. I tried to follow CONTRIBUTING.md but without success. Can I share my experience here or better to create GH Issue?
    pietervanh
    @pietervanh
    where are you stuck @mitcom?
    Aniko Litvanyi
    @herflis
    Hi @mitcom feel free to share your experiences here first :)
    Paweł Burniak
    @mitcom
    ok,
    git clone https://github.com/SenseNet/sn-client.git
    cd sn-client
    yarn install // I have already yarn installed globally 
    
    [1/4] Resolving packages...
    [2/4] Fetching packages...
    info There appears to be trouble with your network connection. Retrying...
    info There appears to be trouble with your network connection. Retrying...
    info There appears to be trouble with your network connection. Retrying...
    info There appears to be trouble with your network connection. Retrying...
    error An unexpected error occurred: "https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.9.1.tgz: ESOCKETTIMEDOUT".
    Paweł Burniak
    @mitcom
    it could be my local problem, but I tried from time to time and the same effect. I tried to use npm but it seems that test has a different dependencies defined
    Aniko Litvanyi
    @herflis
    which version of yarn is installed on your machine?
    Paweł Burniak
    @mitcom
    1.22.4
    Aniko Litvanyi
    @herflis
    ok, then it is not the problem. Are you behind a proxy or is an antivirus software running on your machine that may prohibit yarn?
    Paweł Burniak
    @mitcom
    I am using yarn in my project without problems. As it works for you (and this is no problem with dependencies) I will try with a different network too
    Aniko Litvanyi
    @herflis
    we haven't had such a problem so far
    Is this https://registry.yarnpkg.com/@material-ui/icons/-/icons-4.9.1.tgz available to download for you if you try to open it in the browser directly?
    Paweł Burniak
    @mitcom
    yes, I can download it
    Paweł Burniak
    @mitcom
    the same thing with mobile internet connection. I am going to check yarn install --frozen-lockfile next. But in the meantime. You are sure that I should use package.json in the root of the project repo, not the one in https://github.com/SenseNet/sn-client/tree/develop/apps/sensenet?
    what is strange it is always the same file
    Aniko Litvanyi
    @herflis
    yes, you have to use the package.json and run the install from the project root, we use lerna to handle and update dependencies across the packages and the app in the repository
    Paweł Burniak
    @mitcom
    aah, ok. I think I resolved the issue by adding network-timeout 600000 to the .yarnrc
    at least it passed the 2/4 step
    Nilesh Patel
    @NileshPatel17
    what should be identityServer url for e2e testing??
    Nilesh Patel
    @NileshPatel17
    Aniko Litvanyi
    @herflis
    it depends on the repository url in your config (cypress.json)
    there's a picture in the contribution guide https://github.com/SenseNet/sn-client/blob/develop/apps/sensenet/cypress/config.png where you can see where you can find the urls and how they have to be set
    Nilesh Patel
    @NileshPatel17
    thanks @herflis all set now